Task: Program Execution
Input (English): n M Q 5811 J c 4225 271 C w 5717 w k 2825 n 2803 e 1113 6261 7419 h C F O 2927 6907 7653 V J 7687 q 5767 c z b 8631 207 W g
Output (English): 1, 2, 3, 5, 6, 9, 10, 12, 13, 15, 17, 21, 22, 23, 24, 28, 29, 31, 33, 34, 35, 38, 39