Task: Program Execution
Input (English): 14, ['G', 'N', '6739', 'O', 'c', 'd', 'j', '1031', '761', 't', 'O', 'O', '2105', '5207', '6909', '5173', '5103', 'A', '8071', '3681', '4405', 'J', '1519', 't', '8221', 'V', '6787', 'P']
Output (English): G, 6909