Task: Program Execution
Input (English): 2699 8461 c 1923 d 6987 415 2507 7883 1171 q 5881 B 23 F s 3971 851 8333 5973 n 9489 5491 1195 7423 8703 3283 d Q 6637 4779 1645 9515 9273 5387 Y
Output (English): 1, 2, 4, 6, 7, 8, 9, 10, 12, 14, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35