Task: Program Execution
Input (English): 3591, n, 1219, q, 4671, 9693, 8757, 4789
Output (English): n, q