Task: Program Execution
Input (English): f 3481 i 615 C 1471 X 7845 C 9621 w g 1159 K 3729 7673 Q 2515 1705 395 7445 7775 P 7225 S y L a 1805
Output (English): 6, 3481, 9, 615, 3, 1471, 24, 7845, 3, 9621, 23, 7, 1159, 11, 3729, 7673, 17, 2515, 1705, 395, 7445, 7775, 16, 7225, 19, 25, 12, 1, 1805