Task: Program Execution
Input (English): Q Z d 7273 D A 9581 6151 P 4675 X x 6457 Y 7315 J 9201 u 767 9093 3945 N Z v c w M r 5363 5601 g t i 6513 9939 7921
Output (English): 1, 2, 3, 5, 6, 9, 11, 12, 14, 16, 18, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33