Task: Program Execution
Input (English): 7501, c, n, 3551, U, 8239, L, 3149, 9399, a, 2763, 2461, p
Output (English): 7501, 3, 14, 3551, 21, 8239, 12, 3149, 9399, 1, 2763, 2461, 16