Task: Program Execution
Input (English): 2, 4, ['L', 'r', 'G', '3257']
Output (English): 3257Gr