Task: Program Execution
Input (English): 2, 6, ['8731', '8401', 'G', '581', '1269', 'F', '9191', '8183']
Output (English): F, 1269, 581, G, 8401