import java.io.*;
public abstract class Max{
public static int max(int a,int b)
{
if(a<b) return b;
else return a;
}
public abstract int getMax(int a,int b,int c);
}
class zhou extends Max
{
int a1,a2,a3;
public zhou()
{
try{
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
a1=Integer.parseInt(bf.readLine());
a2=Integer.parseInt(bf.readLine());
a3=Integer.parseInt(bf.readLine());
}
catch(IOException e){}
System.out.println("你输入的数是"+a1+" "+a2+" "+a3+" ");
System.out.println("最大值是"+getMax(a1,a2,a3));
}
public int getMax(int a,int b,int c)
{
int b1=super.max(a,b);
int b2=super.max(b1,c);
return b2;
}
public static void main(String[] args)
{
zhou zz=new zhou();
}
}