Task: Program Execution
Input (English): 2, 2, ['7131', '9369', 'U', '3587']
Output (English): 9369