Task: Program Execution
Input (English): 4, 4, ['U', '6085', 'A', '4359', '2167']
Output (English): 4359