/* 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
{
throwable.printStackTrace(pw);
return sw.toString();
// this can never really happen..... as a result,
// just convert to a Runtime exception
}
}
{
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCglwcml2YXRlIHN0YXRpYyBTdHJpbmcgY29udmVydFN0YWNrVHJhY2UoVGhyb3dhYmxlIHRocm93YWJsZSkgewoJICAgIHRyeSAoU3RyaW5nV3JpdGVyIHN3ID0gbmV3IFN0cmluZ1dyaXRlcigpOwoJICAgICAgICAgICAgIFByaW50V3JpdGVyIHB3ID0gbmV3IFByaW50V3JpdGVyKHN3KSkgewoJICAgICAgICB0aHJvd2FibGUucHJpbnRTdGFja1RyYWNlKHB3KTsKCSAgICAgICAgcmV0dXJuIHN3LnRvU3RyaW5nKCk7CgkgICAgfSBjYXRjaCAoSU9FeGNlcHRpb24gaW9lKSB7CgkgICAgICAgIC8vIHRoaXMgY2FuIG5ldmVyIHJlYWxseSBoYXBwZW4uLi4uLiBhcyBhIHJlc3VsdCwKCSAgICAgICAgLy8ganVzdCBjb252ZXJ0IHRvIGEgUnVudGltZSBleGNlcHRpb24KCSAgICAgICAgdGhyb3cgbmV3IElsbGVnYWxTdGF0ZUV4Y2VwdGlvbihpb2UpOwoJICAgIH0KCX0JCgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN5c3RlbS5vdXQucHJpbnRsbihjb252ZXJ0U3RhY2tUcmFjZShuZXcgSWxsZWdhbFN0YXRlRXhjZXB0aW9uKCJib28iKSkpOwoJfQp9