Task: Program Execution
Input (English): 5, 6, ['8797', 'V', '2497', 'H', '525', 'Y', 'S', 'k', '3405', 'l', '9243', '4743', 'r', '4973', '6941']
Output (English): Y525