Task: Program Execution
Input (English): 4, ['O', 'U', 'M', '1505', '6243', '5877', 'B', '5391']
Output (English): O, 6243