Task: Program Execution
Input (English): n, e, m, z, g, 569, 7481
Output (English): e, g, m, n, z