Task: Program Execution
Input (English): 6231, r, 1903, 3455, q, n, a, a, 4985, x, r
Output (English): a, n, q, r, x