/* 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 X {
int i ;
X(){ i = 10; }
void print
() { System.
out.
print(i
+","); } }
class Y extends X {
int i = 15;
int j = 10;
Y(){ j = 20; }
void print
() { System.
out.
print(j
+","); } void superprint() {print();}
}
class Z extends Y {
int k ;
Z(){
super();
k = 30;
}
void print
() {System.
out.
print(k
+",");} void test(){
print();
super.superprint();
System.
out.
print(super.
j+","); }
public static void main
(String args
[]) { Z z = new Z();
z.test();
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgWCB7CiAgICBpbnQgaSA7CiAgICBYKCl7IGkgPSAxMDsgfQogICAgdm9pZCBwcmludCgpIHsgU3lzdGVtLm91dC5wcmludChpKyIsIik7IH0KfQoKY2xhc3MgWSBleHRlbmRzIFggewogICAgaW50IGkgPSAxNTsKICAgIGludCBqID0gMTA7CiAgICBZKCl7IGogPSAyMDsgfQogICAgdm9pZCBwcmludCgpIHsgU3lzdGVtLm91dC5wcmludChqKyIsIik7IH0KICAgIHZvaWQgc3VwZXJwcmludCgpIHtwcmludCgpO30KfQoKY2xhc3MgWiBleHRlbmRzIFkgewogICAgaW50IGsgOwogICAgWigpeyAKICAgICAgICBzdXBlcigpOwogICAgICAgIGsgPSAzMDsgCiAgICB9CiAgICB2b2lkIHByaW50KCkge1N5c3RlbS5vdXQucHJpbnQoaysiLCIpO30KICAgIHZvaWQgdGVzdCgpewogICAgICAgIHByaW50KCk7CiAgICAgICAgc3VwZXIuc3VwZXJwcmludCgpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnQoc3VwZXIuaisiLCIpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihpKTsKICAgIH0KCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmcgYXJnc1tdKSB7CiAgICAgICAgWiB6ID0gbmV3IFooKTsKICAgICAgICB6LnRlc3QoKTsKICAgIH0KfQ==