Task: Program Execution
Input (English): 3, 4, ['137', 'c', '5493', 'Q', 'X']
Output (English): Q3945