Task: Program Execution
Input (English): 2, 5, ['1523', 'H', '959', '519', 'F', 'C', '227']
Output (English): 1478