Task: Program Execution
Input (English): 7077 A 9905 R 9943 9377 w v x 9179 1665 O r 6323 y L 5565 q 5407 6355 5919 3433 4315 W 2303 5567 9039 l 8483 7773 c
Output (English): 7077, 1, 9905, 18, 9943, 9377, 23, 22, 24, 9179, 1665, 15, 18, 6323, 25, 12, 5565, 17, 5407, 6355, 5919, 3433, 4315, 23, 2303, 5567, 9039, 12, 8483, 7773, 3