Task: Program Execution
Input (English): q 6547 g 3997 5257 5539 5805 1829 H 5207 Q P X 8093 7207 V z b 4977 2405 8003 1883 6713 v u 2975 9665 T 9573 p V 7969 7511
Output (English): 17, 6547, 7, 3997, 5257, 5539, 5805, 1829, 8, 5207, 17, 16, 24, 8093, 7207, 22, 26, 2, 4977, 2405, 8003, 1883, 6713, 22, 21, 2975, 9665, 20, 9573, 16, 22, 7969, 7511