import java.util.Arrays;
import java.util.List;
class BeautifulGirlShouldNotDefecate
extends Exception {}
class Main {
List
<Human
> humans
= Arrays.
asList(new Human
(),
new BeautifulGirl
(),
new Human
()); try {
for (Human human : humans) {
human.eat();
human.defecate();
}
System.
out.
println("美少女はうんこしません!"); }
}
}
class Human {
public void eat() {
}
public void defecate() throws BeautifulGirlShouldNotDefecate {
}
}
class BeautifulGirl extends Human {
@Override
public final void defecate() throws BeautifulGirlShouldNotDefecate {
throw new BeautifulGirlShouldNotDefecate();
}
}
/* end */
aW1wb3J0IGphdmEudXRpbC5BcnJheXM7CmltcG9ydCBqYXZhLnV0aWwuTGlzdDsKCmNsYXNzIEJlYXV0aWZ1bEdpcmxTaG91bGROb3REZWZlY2F0ZSBleHRlbmRzIEV4Y2VwdGlvbiB7fQoKY2xhc3MgTWFpbiB7CiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgdGhyb3dzIEV4Y2VwdGlvbiB7CiAgICBMaXN0PEh1bWFuPiBodW1hbnMgPSBBcnJheXMuYXNMaXN0KG5ldyBIdW1hbigpLCBuZXcgQmVhdXRpZnVsR2lybCgpLCBuZXcgSHVtYW4oKSk7CiAgICB0cnkgewogICAgICBmb3IgKEh1bWFuIGh1bWFuIDogaHVtYW5zKSB7CiAgICAgICAgaHVtYW4uZWF0KCk7ICAgICAgCiAgICAgICAgaHVtYW4uZGVmZWNhdGUoKTsgICAgICAKICAgICAgfQogICAgfSBjYXRjaCAoRXhjZXB0aW9uIGUpIHsKICAgICAgU3lzdGVtLm91dC5wcmludGxuKCLnvo7lsJHlpbPjga/jgYbjgpPjgZPjgZfjgb7jgZvjgpMhIik7CiAgICB9CiAgfQp9CgpjbGFzcyBIdW1hbiB7CiAgICBwdWJsaWMgdm9pZCBlYXQoKSB7CiAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigi44Gx44GP44Gx44GPIik7CiAgICB9CiAgICBwdWJsaWMgdm9pZCBkZWZlY2F0ZSgpI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