public class ProgSimpleAlternative { public static int x; public static int y; public static void main(String []args) { x = 62; if (x<50) { y = 111; } else { y = 222; } System.out.println("y="+y); } }