Task: Program Execution
Input (English): 1, 3, ['8049', 'T', 'P', 'P']
Output (English): PT9408