Task: Program Execution
Input (English): 5, 6, ['179', '2853', '4909', 'C', 'D', 'M', 'v', '333', '6117', 'q', '4683']
Output (English): D, M