Task: Program Execution
Input (English): 2649 3471 W 1423 Q 3735 8477 s 959 3107 U r 2287 7175 7913 B Y s 9239 E 5399 8465 y M w
Output (English): 1, 2, 4, 6, 7, 9, 10, 13, 14, 15, 19, 21, 22