class Strings{
public void f() {
try {
throw new RuntimeException();
}
finally {
System.out.println("CAUGHT1");
}
System.out.println("CAUGHT1");
}
public static void main(
String args[]) throws Exception{
Strings t = new Strings();
try{
t.f();
System.out.println("MAIN");
}
finally{}
System.out.println("CAUGHT0");
}
}