a = {'Tencent':float(input())} b = {'Alibaba':float(input())} if a['Tencent'] > b['Alibaba']: print(list(a.keys())[0]) else: print(list(b.keys())[0])