Task: Program Execution
Input (English): 1197, 4357, k, e, w, c, u, 977, w, v, 6961, t, 2217, d, q, n, f
Output (English): c, d, e, f, k, n, q, t, u, v, w