#include <iostream>
using namespace std;
int main() {
int a,b,c,min;
cin>>a>>b>>c;
if(a<b)min=a;
if(b<a)min=b;
if(c<min)cout<<c;
else cout<<min;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCBhLGIsYyxtaW47CmNpbj4+YT4+Yj4+YzsKaWYoYTxiKW1pbj1hOwppZihiPGEpbWluPWI7CmlmKGM8bWluKWNvdXQ8PGM7CmVsc2UgY291dDw8bWluOwoKCgoKCgoKCgoJcmV0dXJuIDA7Cn0=