#include <iostream>
using namespace std;
int main()
{
int a,b,c,max;
cin>>a>>b>>c;
max=a>b?(a>c?a:c):(b>c?b:c);//三目运算符依次比较
cout<<max;
return 0;
}