Task: Program Execution
Input (English): 357, 2161, 4457, 4149, x, 6909, v, 941, c, b, n, z, Z, J, R, 807, y, L
Output (English): 357, 2161, 4457, 4149, 6909, 941, 807