Task: Program Execution
Input (English): a, 6113, j, g, n, 227, p, p, 9739, n, n, w, 2869, 9925, h, q, t, p, 1381
Output (English): a, g, h, j, n, p, q, t, w