#include<iostream>
#include<climits>
using namespace std;
int main()
{
int max=INT_MIN,min=INT_MAX;
int num;
int counter =0;
cout<<"Enter 10 numbers"<<endl;
while(counter<10)
{
cin>>num;
if ( max < num) max = num;
if ( min > num) min = num;
counter++;
}
cout << "min " << min << ", max " << max << endl;
return 0;
}