if (max == a && b>=c) { System.out.println(a + " " + b + " " + c); }else if (max == a && c>=b) { System.out.println(a + " " + c + " " + b); }else if (max == b && a>=c) { System.out.println(b+" "+ a + " " + c); }else if (max == b && c>=a) { System.out.println(b +" "+ c + " " + a); }else if (max == c && a>=b) { System.out.println(c+" "+ a + " " + b); }else if (max == c && b>=a) { System.out.println(c+" "+ b + " " + a); }