Task: Program Execution
Input (English): 2, 3, ['N', 'c', 'U', '6561', '5315']
Output (English): Uc