#K36132. Decrypt Message
Decrypt Message
Decrypt Message
You are given a sequence of integers representing positions in the English alphabet. Each integer \( x \) satisfies \( 1 \leq x \leq 26 \) and maps to an uppercase letter according to the rule:
\( \text{Letter} = \text{chr}(x + 64) \)
Your task is to decrypt the message by converting the sequence of integers into the corresponding string.
Input: The first line contains an integer \( n \) — the number of letters in the message. The second line contains \( n \) space-separated integers.
Output: A single line containing the decrypted message in uppercase letters.
inputFormat
The input is read from standard input (stdin) and has the following format:
n x1 x2 x3 ... xn
Here, \( n \) is the number of integers, and each \( x_i \) (\( 1 \leq x_i \leq 26 \)) represents a letter's position in the alphabet.
outputFormat
The output should be printed to standard output (stdout) as a single line string of uppercase letters obtained by converting the given integers using the rule \( \text{Letter} = \text{chr}(x + 64) \).
## sample5
8 5 12 12 15
HELLO