Task: Program Execution
Input (English): 9931, 1971, d, w, 4827, w, 6293, 7733, 427, f, 4761, d, q
Output (English): d, f, q, w