Task: Program Execution
Input (English): 5, 13, ['8539', 'K', '731', 'f', 'R', '6909', '2575', 'U', 'g', 'e', '1901', 'C', 'F', 'Z', 'A', '4119', '2983']
Output (English): 11385