Task: Program Execution
Input (English): X, 77, 2741, 491, N, T, 8909, 9611, 327, 9245, M, z
Output (English): 24, 77, 2741, 491, 14, 20, 8909, 9611, 327, 9245, 13, 26