Task: Program Execution
Input (English): 3999 859 2929 G 5757 2917 6091 S l p 4393 Q 7623 I 1607 8335 p W 2723 1397 3963 X 3937 5565 7405 Q j l 1561 X 7869 B 8123 r 7431 1931 g
Output (English): 1, 2, 3, 5, 6, 7, 11, 13, 15, 16, 19, 20, 21, 23, 24, 25, 29, 31, 33, 35, 36