Task: Program Execution
Input (English): Y, M, 1733, 2363, 1345, Q, 2731, z, g, y, l, C, 3495, M, z, 79, u, 3685, h, s, 7897, i
Output (English): 25, 13, 1733, 2363, 1345, 17, 2731, 26, 7, 25, 12, 3, 3495, 13, 26, 79, 21, 3685, 8, 19, 7897, 9