Task: Program Execution
Input (English): 2, 3, ['5909', '1581', 'K', '521', 'R', '3629', 'h']
Output (English): 1581, K