Task: Program Execution
Input (English): Q 7971 P z H 407 A 8983 9209 Q N 3549 8003 993 4275 5757 3671 L k N f D H 1653 3653
Output (English): 17, 7971, 16, 26, 8, 407, 1, 8983, 9209, 17, 14, 3549, 8003, 993, 4275, 5757, 3671, 12, 11, 14, 6, 4, 8, 1653, 3653