Task: Program Execution
Input (English): 4, 4, ['5097', 'X', 'U', '3141', 'X']
Output (English): 3141