Task: Program Execution
Input (English): 3, 4, ['2431', 'w', 'G', '6101', '4133', '8973', '51']
Output (English): 6101G