Task: Program Execution
Input (English): 3, 8, ['4989', '6093', '9453', '1597', 'R', 'l', '7049', '101', 'Y', '5691', 'T', 'f']
Output (English): 18200