Task: Program Execution
Input (English): 6797, 9531, k, a, 3781, 4367, 2879, q, u, d, p, w
Output (English): a, d, k, p, q, u, w