Task: Program Execution
Input (English): 3, 3, ['5311', 'p', 'U', '5085', '113', 'k']
Output (English): U