Task: Program Execution
Input (English): h 3783 Y W 7931 4757 X z X 9317 i 2395 1317 K 1375 5233 1789 797 3429 6781 2825 b B 1907 9525 59 v y 7187 8439 Q Z 3047 7047 q Z G W l 6601
Output (English): 2, 5, 6, 10, 12, 13, 15, 16, 17, 18, 19, 20, 21, 24, 25, 26, 29, 30, 33, 34, 40