Task: Program Execution
Input (English): 2909, 3071, 1229, v, U, T, 3187, 5869, Q
Output (English): v, U, T, Q