Decryption
TIME LIMIT = 1 SEC.
- All sensitive messages in this world are encrypted. This is nothing new. Encryption has been an important part of communication since the times of Julius Caesar. Let's try to crack a simple encrypted message. Lucky for us, C.H.R.I.S. has told us the encryption algorithm. It's pretty simple: It is the letter followed by the number of times that letter occurs.
Input | Output |
First line will contain L - the number of characters in the encrypted message. The second line will contain the encrypted message itself. |
For each testcase, output the decrypted message. |
- 1 ≤ L ≤ 1000