#include<bits/stdc++.h>
using namespace std;
int main(){
	int x,y,z;
	scanf("%d %d %d",&x,&y,&z);
	int max=x;
	if (max<y){
		max=y;
	}
	if (max<z){
		max=z;
	}
	printf("%d\n",max);
	return 0;
}
/**************************************************************
	Problem: 1039
	User: xiaojingxuan
	Language: C++
	Result: Accepted
	Time:10 ms
	Memory:2076 kb
****************************************************************/