Task: Program Execution
Input (English): 7003, 305, Q, 1765, 9553, V, o, 4563, R, 5619, 3983, 2667
Output (English): 7003, 305, 17, 1765, 9553, 22, 15, 4563, 18, 5619, 3983, 2667