num=56
for i in range(3):
guess_num=int(input('Enter the number you guessed:'))
if guess_num==num:
print('Congratulations, you guessed it right')
break
elif guess_num > num:
print('The number you guessed is too big')
else:
print('The number you guessed is too small')
else:
print('You guessed too many times, game over')