Task: Program Execution
Input (English): 9573, 5521, 1945, p, 9291, J, 5329, a, 1271, 563, 2615, 6649, 8003, 1863, v, 8291, 9385, 7373, Q
Output (English): 9573, 5521, 1945, 16, 9291, 10, 5329, 1, 1271, 563, 2615, 6649, 8003, 1863, 22, 8291, 9385, 7373, 17