Task: Program Execution
Input (English): a, w, 6351, u, x, 3905, 2273, 8903, a, p, 6583, 3397, 1913, 7983, 65, w, 7997, a, w, f, 6447
Output (English): a, f, p, u, w, x