#include <iostream> using namespace std; int main() { // write your code here...... int a, b; while(cin>>a>>b){ if(a>b){ cout << a; }else{ cout << b; } } return 0; }