Task: Program Execution
Input (English): 2, 3, ['R', 'n', 'h']
Output (English): nh