#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,max=0;
cin>>a>>b>>c;
if(max<a)max=a;
if(max<b)max=b;
if(max<c)max=c;
cout<<max;
return 0;
}
/**************************************************************
Problem: 1039
User: lzc
Language: C++
Result: Accepted
Time:7 ms
Memory:2072 kb
****************************************************************/