Problem C
Lyklagangriti
Languages
en
is
Benni was browsing the web and accidentally got himself a keylogger. Luckily Benni has antivirus software that let him know about it, but the antivirus didn’t remove the virus itself. When Benni writes his passwords to log into various sites he tries to hide it so the keylogger won’t nab his passwords. Benni uses the arrow keys to move the cursor around and then erases letters to confuse the keylogger. Given the keys Benni used to write his password, can you find out what his password is?
Input
A single line containing a string of length
Output
One line containing Benni’s password.
Scoring
Group |
Points |
Constraints |
1 |
10 |
|
2 |
13 |
|
3 |
17 |
|
4 |
24 |
|
5 |
36 |
|
Sample Input 1 | Sample Output 1 |
---|---|
iLnLnLeLb |
benni |
Sample Input 2 | Sample Output 2 |
---|---|
arnarLLLBBun |
unnar |
Sample Input 3 | Sample Output 3 |
---|---|
password123 |
password123 |