Task: Program Execution
Input (English): 1287, q, D, p, n, N, b, 5489
Output (English): q, D, p, n, N, b