Task: Program Execution
Input (English): 3, 3, ['H', '7843', '2823', '529']
Output (English): 3282