Task: Program Execution
Input (English): E M 9633 W J r 5645 F 3443 b 6293 5677 1285 7083 Q 1331 j Q 5737 5167 X a o 3805 c o a x 6231 1463 T N 4543
Output (English): 5, 13, 9633, 23, 10, 18, 5645, 6, 3443, 2, 6293, 5677, 1285, 7083, 17, 1331, 10, 17, 5737, 5167, 24, 1, 15, 3805, 3, 15, 1, 24, 6231, 1463, 20, 14, 4543