#include <iostream.h>
int main()
{
int a,b,c,max,min;
cout<<" Enter your numbers ";
cin>>a>>b>>c;
max=a;
min=a;
if (b>max)
max=b;
if (c>max)
max=c;
if (b<min)
min=b;
if (c<min)
min=c;
cout<<" The max is " <<max<<endl;
cout<<" The min is " <<min<<endl;
return 0;
}