Task: Program Execution
Input (English): n 7365 1505 4641 1247 6297 E V L m B 8705 K R U i 2063 1803 S c 2667 X d N P 6005 8809 M L U 1045 b
Output (English): 2, 3, 4, 5, 6, 12, 17, 18, 21, 26, 27, 31