Task: Program Execution
Input (English): 8009 o 6901 X 1811 w 3315 8691 2749 5773 R 7421 6187 3941 2457 4299 3079 X o 7241 n b I r 1141 d 6549 663 C 7973 547 3701 8427 9397 6781 p
Output (English): 8009, 15, 6901, 24, 1811, 23, 3315, 8691, 2749, 5773, 18, 7421, 6187, 3941, 2457, 4299, 3079, 24, 15, 7241, 14, 2, 9, 18, 1141, 4, 6549, 663, 3, 7973, 547, 3701, 8427, 9397, 6781, 16