Task: Program Execution
Input (English): 1937 769 a f i N G p 999 E 3709 R 9809 Q L q F 83 7273 X u 6051 c 4867 7979 2577 k M 2451 g 4777 M U q R Z 7213 2087 9907 Z
Output (English): 1, 2, 9, 11, 13, 18, 19, 22, 24, 25, 26, 29, 31, 37, 38, 39