Task: Program Execution
Input (English): R, 8541, 2621, h, 4337, I, r, 3123, 4199, a, 7637, 5239, Z, 9131, 3229
Output (English): 18, 8541, 2621, 8, 4337, 9, 18, 3123, 4199, 1, 7637, 5239, 26, 9131, 3229