cin>>a>>b;
if (a>b) cout << b;
else cout << a;
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int a,b,min,max;
cin >> a >> b;
min=(a+b-abs(a-b))/2;
max=(a+b+abs(a-b))/2;
cout << "min= " << min << endl;
cout << "max= " << max << endl;
return 0;
}