Task: Program Execution
Input (English): 1855, f, s, 5943, i, l, o, 6477, q, l, d, k, z, 4751, a, g
Output (English): a, d, f, g, i, k, l, o, q, s, z