Task: Program Execution
Input (English): 2, 12, ['i', 'W', '1755', '2525', '749', '8201', '877', 'R', '9927', '9281', '3885', 'n']
Output (English): 37200