Task: Program Execution
Input (English): o 8295 6339 1951 2113 4877 9105 L X 3703 W 9971 5685 r 8191 X c i 755 M 3145 3289 5465 q J 8837 p Q
Output (English): 15, 8295, 6339, 1951, 2113, 4877, 9105, 12, 24, 3703, 23, 9971, 5685, 18, 8191, 24, 3, 9, 755, 13, 3145, 3289, 5465, 17, 10, 8837, 16, 17