/* Note:Your choice is C IDE */
#include "stdio.h"
void main()
{ int a,b,c,i; scanf("%d%d%d",&a,&b,&c); while (a>b||b>c) { if(a>b) i=a;a=b;b=i; if(b>c) i=b;b=c;c=i; } printf("%d",c);
}
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
int max=(a>b?a:b)>c?(a>b?a:b):c;
int min=(a>b?b:a)>c?c:(a>b?b:a);
cout<<"max="<<max<<endl;
cout<<"min="<<min<<endl;
return 0;
}