Task: Program Execution
Input (English): 315, 63, n
Output (English): 1, 3, 5, 6