#include <iostream>
using namespace std;
int main() {
int a,b,c;
scanf("%d %d %d", &a,&b,&c);
int min = 5001;
if(a<min);
min = a;
if(b<min);
min = b;
if(c<min);
c = min;
printf("%d",min);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CmludCBhLGIsYzsKc2NhbmYoIiVkICVkICVkIiwgJmEsJmIsJmMpOwppbnQgbWluID0gNTAwMTsKaWYoYTxtaW4pOwptaW4gPSBhOwppZihiPG1pbik7Cm1pbiA9IGI7CmlmKGM8bWluKTsKYyA9IG1pbjsKcHJpbnRmKCIlZCIsbWluKTsKCXJldHVybiAwOwp9