Task: Program Execution
Input (English): f 7711 h 3301 L K T E Y 947 8391 4785 Y 1089 X n 2029 O 8959 4625 o 5601 b X 29 949 9311 W 8625 9911
Output (English): 6, 7711, 8, 3301, 12, 11, 20, 5, 25, 947, 8391, 4785, 25, 1089, 24, 14, 2029, 15, 8959, 4625, 15, 5601, 2, 24, 29, 949, 9311, 23, 8625, 9911