Task: Program Execution
Input (English): 3, 7, ['n', 'q', 'Z', '119', '5105', '6501', 'u', 'r', '6335', '3523', 'B', '8193', 'M', '2971', '6201', '3871']
Output (English): Z, 3523