int a = 5, b = 5; if (a++ == 5 || ++b == 6) System.out.println(a + " " + b); else System.out.println("Neither"); ,