Task: Program Execution
Input (English): 2, 3, ['T', '2161', '227']
Output (English): 7221612