Task: Program Execution
Input (English): 2, 2, ['4317', 'T']
Output (English): T