Task: Program Execution
Input (English): 4, 13, ['9601', 'o', 'L', '2107', '4217', '4429', '3121', '8035', 'i', '7993', '1343', '8655', 'G', 'M']
Output (English): 39900