a=1
b=2
while a<4:
user=input('请输入账户')
pswd=input('请输入密码')
if user=='123' and pswd=='456':
print('正确')
else:
print('你还有%s次机会'%(b))
b=b-1
a=a+1