Task: Program Execution
Input (English): 4, 5, ['J', '943', '2447', 'w', '6975', 'K', 'H', '2913', 'Q', '4621']
Output (English): 6975w