Task: Program Execution
Input (English): n, q, z, r, 41, 345, 115, 487, 273, q, 219, i, 23
Output (English): 1, 2, 3, 4, 5, 7, 8, 9