Task: Program Execution
Input (English): n, t, q, 9061, y, 7991, 4155, 7071, z, U, 9623, L, 1243, L
Output (English): 9061, 7991, 4155, 7071, 9623, 1243