a=float(input())
b=float(input())
if a!=b:
    if a>b:
        print('Tencent')
    else:
        print('Alibaba')