Task: Program Execution
Input (English): 5, 8, ['5745', '5919', '2351', 'M', '3273', '6855', '2999', 's', 'F', 'o', 'W', '8607']
Output (English): 13127