Task: Program Execution
Input (English): 3, 5, ['W', 'G', 'W', '6983', 'T']
Output (English): T6983W