Task: Program Execution
Input (English): d, e, 2489, z, 8923, g, 3929, z, 8151, 9835, q
Output (English): d, e, g, q, z