Task: Program Execution
Input (English): 7413, 7471, 8277, 4469, 1489, f, Q, w, 6665, o, 3647, w
Output (English): f, Q, w, o, w