
public class mc_q12
{
    public static void main(String[] args)
    {
	boolean x, y;

	x = false; y = false;
	System.out.println( x + " | " + y + " | " 
			+ ( (x && y) && !(x || y) ) );
	x = false; y = true;
	System.out.println( x + " | " + y + " | " 
			+ ( (x && y) && !(x || y) ) );
	x = true; y = false;
	System.out.println( x + " | " + y + " | " 
			+ ( (x && y) && !(x || y) ) );
	x = true; y = true;
	System.out.println( x + " | " + y + " | " 
			+ ( (x && y) && !(x || y) ) );
    }
}
