public class MainClass { public static void main(String[] argv) { int x = 0, y = 4, z = 5; if (x > 2) { if (y < 5) { System.out.println("one"); } else { System.out.println("two"); } } else if (z > 5) { System.out.println("three"); } else { System.out.println("four"); } } }