Task: Program Execution
Input (English): A N Z 9855 g z 2943 7941 2095 9241 4863 4983 h S T X G l Q 5353 5079 c c F l J k 9851 f 2529 M 3091
Output (English): 1, 2, 3, 5, 6, 13, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 29, 31