Task: Program Execution
Input (English): 2881, 6097, M, 7223, I, 5683, 3801, 2663, 8801, 7231
Output (English): 1, 2, 4, 6, 7, 8, 9, 10