Task: Program Execution
Input (English): 6003, g, l, y, q, 5867, g, e, o, 8911, w, 5249, 7167, m, 4983, 8701, 1225, q
Output (English): e, g, l, m, o, q, w, y