import random
secret_num = random.randint(0, 100)
guess = input("Guess a number ")
while not guess.isdecimal() or int(guess) < 0 or int(guess) > 100:
guess = input("Guess a number ")
guess = int(guess)
diff = secret_num - guess
# if diff < 0:
# diff = -diff
diff = abs(diff)
if diff == 0:
print("winner")
elif diff <= 5:
print("lava")
elif diff <= 10:
print("warm")
else:
print("cold")