Task: Program Execution
Input (English): 5, 8, ['J', 'b', '1063', '9549', '9413', '5805', '5221', '4427']
Output (English): 7244122550853149