Task: Program Execution
Input (English): 2, 7, ['H', '6543', '7059', 'T', '1561', 'O', '779', 'R']
Output (English): 977O1651T95073456