Task: Program Execution
Input (English): r, 1771, 2497, f, 3373, 6433, b, 7711, M, 1037, A, 6839, 39, 7851, J, 8695, 9853
Output (English): 18, 1771, 2497, 6, 3373, 6433, 2, 7711, 13, 1037, 1, 6839, 39, 7851, 10, 8695, 9853