#K14716. Decode the Encoded Message
Decode the Encoded Message
Decode the Encoded Message
In this problem, you are given a list of integers where each integer represents a position in the English alphabet. The mapping is defined in the following way: if an integer is given as (x), then the corresponding uppercase letter is (\text{chr}(x+64)). For example, an integer 1 corresponds to 'A', 2 to 'B', and so on until 26 which corresponds to 'Z'. Your task is to decode the message by converting each integer in the list to its corresponding letter and concatenating these letters to form the final message.
inputFormat
The input consists of two lines. The first line contains an integer (n), representing the length of the encoded message. The second line contains (n) space-separated integers, each in the range ([1,26]), representing the positions of the letters in the alphabet.
outputFormat
The output is a single line which contains the decoded message as a string of uppercase English letters.## sample
5
8 5 12 12 15
HELLO