Task: Program Execution
Input (English): F 9765 N 2887 G S K A o H e E 573 6727 u 8415 h 5191 E 9253 J z 6025 5733 J x N 4475 6373 W 9255 8209 9425 j 5851 1497 3519 3507 4111 531
Output (English): 6, 9765, 14, 2887, 7, 19, 11, 1, 15, 8, 5, 5, 573, 6727, 21, 8415, 8, 5191, 5, 9253, 10, 26, 6025, 5733, 10, 24, 14, 4475, 6373, 23, 9255, 8209, 9425, 10, 5851, 1497, 3519, 3507, 4111, 531