Problems
After receiving the side length n of a square,
write a program that outputs a square made of characters as shown below.
[Processing Conditions]
The order of the characters proceeds as follows:
starting from the bottom-right corner, fill upward in order beginning with 'A',
and continue filling in this way until the top-left is reached, as shown in the table below.
After 'Z', start again from 'A'.

Input
Receive the side length n of the square (n is an integer between 1 and 100).
Output
Print the character square with side length n in the format described above.
Separate the characters with spaces.
Example
4
P L H D
O K G C
N J F B
M I E A
Tag
Source
JUNGOL