Task: Program Execution
Input (English): 1157, x, k, 9795, n, m, g, 1265, m, q, 1791, e, 2909, 5785, 5643, n
Output (English): e, g, k, m, n, q, x