/* 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
{
private static class Bar {}
{
class Foo$o {
class Bar$bar {}
};
class Foo$o$Bar {
class Bar$bar {}
};
print(Ideone.class);
print(Bar.class);
print(Foo$o.class);
print(Foo$o.Bar$bar.class);
print(Foo$o$Bar.Bar$bar.class);
}
private static void print(Class<?> clazz) {
System.
out.
printf("fqn=%s, sn=%s%n", clazz.
getName(), clazz.
getSimpleName()); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXByaXZhdGUgc3RhdGljIGNsYXNzIEJhciB7fQoJCglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQljbGFzcyBGb28kbyB7CgkJCWNsYXNzIEJhciRiYXIge30KCQl9OwoJCWNsYXNzIEZvbyRvJEJhciB7CgkJCWNsYXNzIEJhciRiYXIge30KCQl9OwoJCXByaW50KElkZW9uZS5jbGFzcyk7CgkJcHJpbnQoQmFyLmNsYXNzKTsKCQlwcmludChGb28kby5jbGFzcyk7CgkJcHJpbnQoRm9vJG8uQmFyJGJhci5jbGFzcyk7CgkJcHJpbnQoRm9vJG8kQmFyLkJhciRiYXIuY2xhc3MpOwoJfQoJCglwcml2YXRlIHN0YXRpYyB2b2lkIHByaW50KENsYXNzPD8+IGNsYXp6KSB7CgkJU3lzdGVtLm91dC5wcmludGYoImZxbj0lcywgc249JXMlbiIsIGNsYXp6LmdldE5hbWUoKSwgY2xhenouZ2V0U2ltcGxlTmFtZSgpKTsKCX0KfQ==