Task: Program Execution
Input (English): n, 6837, e, g, r, 945, o, e, 7189
Output (English): e, g, n, o, r