Task: Program Execution
Input (English): w K 461 111 Q 2735 Z I x 1237 D 5843 A 3105 e s 6735 6353 4521 b 4147 i T 2823 s h 915 h 1417 2735 7367
Output (English): 3, 4, 6, 10, 12, 14, 17, 18, 19, 21, 24, 27, 29, 30, 31