Task: Program Execution
Input (English): 3, 3, ['h', '3893', '9871']
Output (English): 9871