Task: Program Execution
Input (English): 1449 X G 9811 O M w 2637 9893 9643 G 3991 c 6115 A 3755 6309 4705 g 2409 4191 w g 3371 5433 s N B 7323 v
Output (English): 1449, 9811, 2637, 9893, 9643, 3991, 6115, 3755, 6309, 4705, 2409, 4191, 3371, 5433, 7323