Task: Program Execution
Input (English): x, q, 4695, 1179, m, 4409, x, k, 5319, l, n, p
Output (English): k, l, m, n, p, q, x