The rows in the spreadsheet are labeled using the row number. Rows start at 1.

The designation for a particular cell within the spreadsheet is created by combining the column label with the row label. For example, the upper-left most cell would be ``A1". The cell at column 55 row 23 would be ``BC23".

You will write a program that converts numeric row and column values into the spreadsheet designation.

Input consists of lines of the form: RnCm. n represents the row number [1,300000000] and m represents the column number, 1<=m<=300000000. The values n and m define a single cell on the spreadsheet. Input terminates with the line: R0C0 (that is, n and m are 0). There will be no leading zeroes or extra spaces in the input.

For each line of input (except the terminating line), you will print out the spreadsheet designation for the specified cell as described above.

R1C1 R3C1 R1C3 R299999999C26 R52C52 R53C17576 R53C17602 R0C0

A1 A3 C1 Z299999999 AZ52 YYZ53 YZZ53

Greater New York 2004