a,b = input().split() c = a+b if c == '01' or c == '12' or c =='20' : w = 1 else: w = 2 print("winner:{}".format(w))