age_shanshan = 18
count = 3
num = 0
while num < count:
age = int(input("age:"))
if age == age_shanshan:
print("good")
break
else:
print("不对")
num += 1
if num == 3:
choice = input("是否还玩,继续输入Y或者y")
if choice == 'y' or choice == 'Y':
num = 0
print("over")