Task: Program Execution
Input (English): j Q 4627 8807 5915 3523 S A 4323 2957 H u M x 7839 B 7399 5971 w d 1641 J P 9983 I
Output (English): 10, 17, 4627, 8807, 5915, 3523, 19, 1, 4323, 2957, 8, 21, 13, 24, 7839, 2, 7399, 5971, 23, 4, 1641, 10, 16, 9983, 9