LCC '21 Contest 3 J2 - Numbers to Alphabet

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type

Let's assign a number to every letter in the alphabet. The letters from "A" to "Z" will be assigned to the numbers from 0 to 25 chronologically. "A" will be 0, "B" will be 1, "C" will be 2, and so on.

Given a number, can you output the corresponding letter?

Better yet, can you do this N times?

Input Specification

The first line contains N (1 \le N \le 10^4).

Each of the next N lines contains a number in the range of 0 to 25, representing the letters from A to Z.

Output Specification

For each number, output the corresponding letter on a seperate line. Note: only output uppercase letters.

Sample Input

5
0
1
2
3
25

Sample Output

A
B
C
D
Z

Comments

There are no comments at the moment.