Task: Program Execution
Input (English): 2879, 8605, 6241, 3655, R, 9731, M, 4053, l
Output (English): 5, 7, 9