Task: Program Execution
Input (English): 2161, n, F, 3645, 9603, 1967
Output (English): 1, 4, 5, 6