Task: Program Execution
Input (English): 4605, 2813, 7587, c, 5807, P, 8343, B, 5459, E, I, G
Output (English): 4605, 2813, 7587, 3, 5807, 16, 8343, 2, 5459, 5, 9, 7