Task: Program Execution
Input (English): 2, ['Q', '6143', 'i', '6197', 'K', '1729', 'V']
Output (English): Q, 6143