Task: Program Execution
Input (English): 9687, 3485, 4171, n, v, w, i, f, i, z, q, a, m, a, c, c, p, 307, x, 1357
Output (English): a, c, f, i, m, n, p, q, v, w, x, z