Task: Program Execution
Input (English): 4, 5, ['k', '6781', 'L', 'Q', '7237', '5101', '9549', '7617', 'k', '4131', '6019', 'H', '6721', '3739', '1303']
Output (English): 7237Q