Task: Program Execution
Input (English): 4, 10, ['K', '2563', 'J', '7301', '313', '9205', '9909', '791', '9617', '8471', '9943']
Output (English): 17487169197909950293131037