/* package whatever; // don't place package name! */
import java.util.* ;
import java.lang.* ;
import java.io.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
// your code goes here
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCX0KfQ==
stdin
KC0xMDAlKT0wIFNUQVRFCisxMDAlICA9ICsxMDAlICB0cmFuc2FjdGlvbiBFTFNFICgtKT0oLSkKMC4wLiAgID0gKzEwMCUgSVMgREVTSVJFRCBUQVJHRVQuCgpJZiBBIE1pc3RBa2UgSXMgbWFkZSBUTyBBREQgRU5EUG9pbnQgMyBGSVJTVCBBTkQgSVQgU1RBUlQgV0lUSCBBIE1pbnVzLCBBRCBUV08gKjEwMCUgVE9HRVRIRVIgQU5EIEFMTFdBWVMgQVAgRU5EUG9pbnQgNCBGSVJTVCBVc2luZyAwLSgtMTAwJSk9MTAwJSBUaGF0J3MgVGhlIFBBWUVSUyBBQ0NPdW50IFRoQVQgU0hPVUxEIEFVVE9tYXRpY2tseSBHI1QgUEFZRUQgSW5zdGVhZCBPRiBUQUtpbmcgV0hFTiBZT1UgS25vdyBUaGlzIHBlcnNvbiBvd2UgWU9VIG1vbmV5IEFORCBZT1UgT1dFIE5PVGhpbmcgVE8gVGhlbS4g
(-100%)=0 STATE
+100% = +100% transaction ELSE (-)=(-)
0.0. = +100% IS DESIRED TARGET.
If A MistAke Is made TO ADD ENDPoint 3 FIRST AND IT START WITH A Minus, AD TWO *100% TOGETHER AND ALLWAYS AP ENDPoint 4 FIRST Using 0-(-100%)=100% That's The PAYERS ACCOunt ThAT SHOULD AUTOmatickly G#T PAYED Instead OF TAKing WHEN YOU Know This person owe YOU money AND YOU OWE NOThing TO Them.