#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a; cin>>b; cin>>c; int max; max=a>b?(a>c?a:c):(b>c?b:c); cout<<max<<endl; }