Task: Program Execution
Input (English): 1147, 883, c, 1927, a, N, 7343, P, 9803, C, 8785
Output (English): 1147, 883, 3, 1927, 1, 14, 7343, 16, 9803, 3, 8785