Task: Program Execution
Input (English): 1, 6, ['3251', 'G', 'W', 'W', '2391', '1937']
Output (English): 3251GWW23911937