Task: Program Execution
Input (English): 1, 2, ['q', 'X']
Output (English): X, q