Task: Program Execution
Input (English): 3059, 4039, c, R, 7329, m, E, R, 1231, 6861, 29
Output (English): 3059, 4039, 3, 18, 7329, 13, 5, 18, 1231, 6861, 29