Task: Program Execution
Input (English): g, 1077, y, 8547, 4883, 6317, 7477, a, 5727, 8123, f, 7397, 5933, Q, 7369, I, D
Output (English): g, y, a, f, Q, I, D