Task: Program Execution
Input (English): 2, 3, ['3949', 'N', 'r']
Output (English): rN