Task: Program Execution
Input (English): 6991 o k r w 4987 w L n 4553 6697 H 3597 z c 6705 D 5329 Q 3267 n 1095 9309 5613 9383 7473 7531 P 9869 V
Output (English): 2, 3, 4, 5, 7, 8, 9, 12, 14, 15, 17, 19, 21, 28, 30