Task: Program Execution
Input (English): 107, x, n, 261, d, z, q, w, p
Output (English): 0, 1, 2, 6, 7