Task: Program Execution
Input (English): n, 5023, 1035, w, 4865, w, r, q, m, 3389, 8907, z, 3807, 2463, n, c, n, 7171, 9265, 787
Output (English): c, m, n, q, r, w, z