Task: Program Execution
Input (English): 2, 3, ['h', 'w', '3397']
Output (English): 3397