Task: Program Execution
Input (English): 4, 5, ['G', 'k', '9623', '4877', 'B', '125', '2853', '357']
Output (English): B4877