Task: Program Execution
Input (English): 4, 10, ['K', 'J', 'w', '4107', '5505', '2847', '899', '5511', '3977', '1193', '2641']
Output (English): 119339775511899284755054107