import java.util.ArrayList;
import java.util.List;
class A
{
public final static List<Integer> list;
static
{
System.
out.
println("Loaded Class A"); list = new ArrayList<>();
}
}
class B
{
public final static int dependsOnA;
static
{
System.
out.
println("Loaded Class B"); dependsOnA = A.list.size();
}
}
class C
{
static
{
System.
out.
println("Loaded Class C"); }
public static void main
(String[] args
) {
System.
out.
println(B.
dependsOnA); }
}
aW1wb3J0IGphdmEudXRpbC5BcnJheUxpc3Q7CmltcG9ydCBqYXZhLnV0aWwuTGlzdDsKCmNsYXNzIEEKewogICAgcHVibGljIGZpbmFsIHN0YXRpYyBMaXN0PEludGVnZXI+IGxpc3Q7CiAgICBzdGF0aWMKICAgIHsKICAgIAlTeXN0ZW0ub3V0LnByaW50bG4oIkxvYWRlZCBDbGFzcyBBIik7CiAgICAgICAgbGlzdCA9IG5ldyBBcnJheUxpc3Q8PigpOwogICAgfQp9CgpjbGFzcyBCCnsKICAgIHB1YmxpYyBmaW5hbCBzdGF0aWMgaW50IGRlcGVuZHNPbkE7CiAgICBzdGF0aWMKICAgIHsKICAgIAlTeXN0ZW0ub3V0LnByaW50bG4oIkxvYWRlZCBDbGFzcyBCIik7CiAgICAgICAgZGVwZW5kc09uQSA9IEEubGlzdC5zaXplKCk7CiAgICB9Cn0KCmNsYXNzIEMKewogICAgc3RhdGljCiAgICB7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJMb2FkZWQgQ2xhc3MgQyIpOwogICAgfQogICAgCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKQogICAgewogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihCLmRlcGVuZHNPbkEpOwogICAgfQp9