Task: Program Execution
Input (English): 5, 6, ['9573', '831', 'h', 'k', 'B', '415', 'Y']
Output (English): 514B