Task: Program Execution
Input (English): n, c, 117, 89, 453, 331, 457, a, 75
Output (English): 1, 3, 4, 5, 7, 8, 9