Task: Program Execution
Input (English): 7527, I, 7847, 5857, G, 7979, 4529, B, X, 9035, S, 103, 9783, M
Output (English): 7527, 9, 7847, 5857, 7, 7979, 4529, 2, 24, 9035, 19, 103, 9783, 13