Task: Program Execution
Input (English): 869, M, J, n, z, w, 3891, 4987, W, 9347, 4803, t, X, a, X
Output (English): 869, 3891, 4987, 9347, 4803