import sys import math as mas a,b=input().split() if len(a)>len(b):print(a) elif len(a)