import random
lottery=random.randint(0,99)
guess=eval(input("请输入你的彩票号码:"))
lotteryfirst=lottery//10
lotterysecond=lottery
guessfirst=guess//10
guesssecond=guess
if guess==lottery:
print("恭喜得1w元")
elif(guessfirst==lotterysecond and guesssecond==lotteryfirst):
print("恭喜得5k元")
elif(guessfirst==lotteryfirst or guesssecond==lotteryfirst or guessfirst==lotterysecond or guesssecond==lotterysecond ):
print("恭喜得3k元")
else:
print("很遗憾你没中奖")