Task: Program Execution
Input (English): 3171 h Y G Q N 7405 5983 9413 4235 3141 s 8131 5185 3155 C 6561 p E f 3391 2795 W 1705 W g B p W 3897 1017
Output (English): 1, 7, 8, 9, 10, 11, 13, 14, 15, 17, 21, 22, 24, 30, 31