Task: Program Execution
Input (English): 5, 5, ['6131', '6209', 'H', 'g', '4529', '491', '2143', '6281']
Output (English): 9254