#include int main () { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<=b) { if(a<=c) printf("%d",a); else if(a>=c) printf("%d",c); } if(a>=b) { if(b<=c) printf("%d",b); else if(b>=c) printf("%d",c); } }