Task: Program Execution
Input (English): 2, 2, ['t', '4771', 'J', '4075']
Output (English): 4771