Login Check
0.5s 256MA system has only one account: the account number is \(1001\) and the password is \(1234\).
When a user logs in, they enter an account number and a password. The system responds as follows:
- If the account number is not \(1001\), output
User not found. - If the account number is \(1001\) but the password is not \(1234\), output
Wrong password. - If the account number is \(1001\) and the password is \(1234\), output
Login OK.
Write a program that reads the account number and password and prints the system's response.
Input
A single line with two integers \(a\) and \(p\) separated by a space: the account number and the password that were entered.
Constraints
- \(0 \le a \le 9999\)
- \(0 \le p \le 9999\)
Output
Output one line: Login OK, Wrong password, or User not found.
Sample Input 1
1001 1234
Sample Output 1
Login OK
Sample Input 2
1001 4321
Sample Output 2
Wrong password
Sample Input 3
1002 1234
Sample Output 3
User not found
Sample Explanation
In sample 3 the password is \(1234\), but account \(1002\) does not exist, so the response is User not found, not Login OK.
Log in to write and submit code. Creating an account is free.