Task: Program Execution
Input (English): 2, 10, ['8345', 'R', '7211', '8417', 'd', 'h', '3067', '7955', '5203', '7023', '6643', '9791', '2935', '7077', '6819', 'N', '2279', 'M', '697', '2921', 'Y', '641', '3451', 'S', 'Y', '1891', '1677', '2999', 'a']
Output (English): R, 9791, 641