Task: Program Execution
Input (English): 3035, f, k, e, 3023, p, 9667, 5277, 4757, 8433, g, 1399, 7721, n, p, 7469, 7581, 5679, g, q
Output (English): e, f, g, k, n, p, q