#include <iostream>using namespace std;int main(int argc, char** argv){int a,b,c,n;cin>>a>>b>>c;if(c>b){b=c;}if(a>b){a=b; }cout<<a; }