Task: Program Execution
Input (English): 2, 6, ['M', 'k', '4165', '5427', '2305', 'i', 'V', '2589', '2385', '2819', 'I', '1335', '7881', '7777', '6461']
Output (English): k, 2589, 7777