Task: Program Execution
Input (English): 2, 6, ['B', 'g', '3935', '7087', '623', 'T', '1965', '4467', 'o', 'm', '4327', '7387', '1129']
Output (English): g, 4467