Task: Program Execution
Input (English): 1749, a, m, q, 9117, m, 4299, 7303, 4527, e, 5413, d, 5247, 7435
Output (English): a, d, e, m, q