age = 20
while True:
try:
guess_age = int(input('guess age:'))
if guess_age > age:
print('Is bigger')
elif guess_age < age:
print('Is smaller')
elif guess_age == age:
print('Great')
break
except:
print('Wrong input')