Task: Program Execution
Input (English): 5, 6, ['j', 't', 'K', '1117', '4877', 'd', 'U', 'H', 'x', '5045', 'B', 'v', '2283']
Output (English): d, 4877