import java.util.Scanner; class S { public static void main(String[] args) { Scanner s= new Scanner(System.in); System.out.println("请输入第一个数"); int a = s.nextInt(); System.out.println("请输入第二个数"); int b = s.nextInt(); System.out.println("请输入第三个数"); int c = s.nextInt(); int max=a; if(max<b) max = b; if(max<c) max =c; System.out.prentln(a+","+c+","+c+"中最大值:"+max); } }