password = 'a123456'
count = 3
while count > 0:
	count = count - 1
	pwd = input('請輸入密碼: ')
	if pwd == password:
		print('登入成功')
		break
	else:
		if count > 0:
			print('密碼錯誤! 你還有' , count , '機會')
		else:
			print('Game Over')
