Task: Program Execution
Input (English): X Y F o G h 8815 T 6885 9529 3595 J A 2163 l y y 4785 Z M S Y R 6435 K y o 1649 1791 1967 A x n y c N N m 3333
Output (English): 24, 25, 6, 15, 7, 8, 8815, 20, 6885, 9529, 3595, 10, 1, 2163, 12, 25, 25, 4785, 26, 13, 19, 25, 18, 6435, 11, 25, 15, 1649, 1791, 1967, 1, 24, 14, 25, 3, 14, 14, 13, 3333