Task: Program Execution
Input (English): 2, 8, ['C', '475', 'v', '6803', '821', 'r', 'C', '4031', '8421', '9021', 'W', '4743', '3859', '1191', 'z', '7267', 'V', 'T', '7217', 'V', '9275', '367']
Output (English): 12130