Task: Program Execution
Input (English): 5, 9, ['4181', '7973', 'C', '2833', '4983', '8173', '8421', '9573', '9485', 'o', '6231', '1145']
Output (English): 40635