Task: Program Execution
Input (English): 3389, E, W, 6789, 9227, 8443, 9071, k, q, n, 3445, 305, b, I, S, m, c, 1835
Output (English): 3389, 6789, 9227, 8443, 9071, 3445, 305, 1835