Task: Program Execution
Input (English): X, m, W, 5791, 4313, 7113, 6727, b, a, P, j, e, q, 209, Z, 6671
Output (English): 5791, 4313, 7113, 6727, 209, 6671