/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;


class A {
	private String foo;
	
	A () {
		foo = "foo";
	}
}

class B extends Ideone {
	public String foo;
	
	B () {
		super();
		foo = "public foo";
	}
}



/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	
	
	public static void main (String[] args) throws java.lang.Exception
	{
		A a = new A();
		B b = new B();
		
		// will trigger compilation error: foo has private access in A
		// System.out.println(a.foo);
		System.out.println(b.foo);
		
		// your code goes here
	}
}


