Task: Program Execution
Input (English): 2, 4, ['m', 't', '3133', '3171']
Output (English): 6304