Task: Program Execution
Input (English): v, r, 7167, 4357, 1991, 6199, 6307, 3783, a, 1613, d
Output (English): a, d, r, v