Task: Program Execution
Input (English): 6, 6, ['8111', '33', '7639', 'K', 'h', '7947', '449', 'b']
Output (English): 7497