class Program {
public void run() {
A a;
int k;
B b;
a = new A();
a.put(5);
k = a.get();
write(k);
b = new B();
b.put(2);
b.inc();
b.print();
write( b.getLastInc(), b.get() );
}