Task: Program Execution
Input (English): 2, 5, ['1143', '4543', '9641', '6801', 'D', 'd', 'V', 'H', 'M', 'i']
Output (English): 4543, 9641, 6801, D