Task: Program Execution
Input (English): 3, 3, ['U', 'o', '9791']
Output (English): 9791