//比较三个数的大小
#define MAX(X,Y)(X>Y?X:Y)//#define定义两个数比大小,若X>Y,输出X
int main ()
{
int a = 0;
int b = 0;
int c = 0;
int res1 = 0;
int res2 = 0;
int res = 0;
scanf("%d%d%d",&a,&b,&c);
res1 = MAX(a,b);
res2 = MAX(b,c);
res = MAX(res1,res2);
printf ("%d\n",res);
return 0;
}