class A { String who = "A"; }
class B extends A { String who = "B"; }
class C extends A { String who = "C"; }
class D { String who = "D"; }
class MainBA {
public static void main(String[] args) {
System.out.println((true ? new B() : new A()).who);
}
}