Task: Program Execution
Input (English): u, 5311, m, 3187, 507, n, 1403, x, s, q
Output (English): m, n, q, s, u, x