Task: Program Execution
Input (English): 9007 Q o J 243 F B G R 747 u p 3317 j 7629 l 6597 3015 u 2191 p 3067 9847 C 9589 3519 A I p 77 E
Output (English): 9007, 17, 15, 10, 243, 6, 2, 7, 18, 747, 21, 16, 3317, 10, 7629, 12, 6597, 3015, 21, 2191, 16, 3067, 9847, 3, 9589, 3519, 1, 9, 16, 77, 5