Task: Program Execution
Input (English): 1, 4, ['5677', 'S', '7431', 'T']
Output (English): T7431S5677