Task: Program Execution
Input (English): o, g, e, 2321, 3647, 8839, 1761, d, q, 2729
Output (English): d, e, g, o, q