#include<iostream>
using namespace std;
int main()
{
    while(1)
    {
        int m,n;
        cout <<"put two num" <<endl;
        cin >>m >>n;
        if(m= =n)        
        {
            return 0;
	} 
        if(m>n)
        {
	    cout <<m <<endl;
	}
	else
	{
	    cout <<n <<endl;
	}
    }
    return 0;
}
