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