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