Task: Program Execution
Input (English): 3643 R 6639 3983 d q Q F 7189 2323 857 g 7449 o Y h 6189 M h F 4661 e 1139 6977 z 7485 8611 2881 6343 q 1801 F R a 4259 F
Output (English): 1, 3, 4, 9, 10, 11, 13, 17, 21, 23, 24, 26, 27, 28, 29, 31, 35