Task: Program Execution
Input (English): 2875 2757 B 317 P 193 r 1977 U 5485 3527 583 7159 L v s k 7419 7351 o G P 5803 7249 w
Output (English): 2875, 2757, 2, 317, 16, 193, 18, 1977, 21, 5485, 3527, 583, 7159, 12, 22, 19, 11, 7419, 7351, 15, 7, 16, 5803, 7249, 23