Task: Program Execution
Input (English): m, x, q, t, n, n, 4751, h, x, m, o, h, 8419
Output (English): h, m, n, o, q, t, x