Task: Program Execution
Input (English): 6989 b a 2945 R 9363 V C 1305 G y V D g 7751 y K m R 411 3731 7149 4441 1663 l 299 6551 1083 j n 6009 z G 285 F 5573 P p 4015
Output (English): 1, 4, 6, 9, 15, 20, 21, 22, 23, 24, 26, 27, 28, 31, 34, 36, 39