Task: Program Execution
Input (English): 2, 5, ['F', '27', 'B', 'C', 'K', 'T', '3823', '1613', '6669', '2499']
Output (English): 27, 3823