/* 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 Main
{
{
Scanner in
= new Scanner
(System.
in); while (in.hasNextInt()){
int a = in.nextInt();
int b = in.nextInt();
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgTWFpbgp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTY2FubmVyIGluID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCQl3aGlsZSAoaW4uaGFzTmV4dEludCgpKXsKICAgICAgICAJaW50IGEgPSBpbi5uZXh0SW50KCk7CiAgICAgICAgCWludCBiID0gaW4ubmV4dEludCgpOwogICAgICAgIAlTeXN0ZW0ub3V0LnByaW50bG4oYStiKTsKCQl9Cgl9Cn0=