Task: Program Execution
Input (English): 3, 20, ['9157', '359', '5793', '3947', '9245', 'i', '43', '3475', '6559', 't', '353', '4699', '241', '337', 'k', '3893', '8425', 'v', 'N', 'M']
Output (English): 47010