Task: Program Execution
Input (English): 3, 5, ['4397', '2195', 'Y', 'w', 'M', 'K', 'l', '2931', '3689', 'u', 'k', '7193', '9797', '2041', 'j', 'c']
Output (English): Y, w, M