Task: Program Execution
Input (English): 3, 4, ['2677', 'Z', 'U', '1577', '6583', 'L', '7681', 'N']
Output (English): U, 1577