Task: Program Execution
Input (English): 8477, 551, 1177, Y, e, n, 4451, 707, n, s, 2659, N, m, 2435, x, g, R, G
Output (English): 8477, 551, 1177, 25, 5, 14, 4451, 707, 14, 19, 2659, 14, 13, 2435, 24, 7, 18, 7