Task: Program Execution
Input (English): 4, 4, ['643', '153', '6033', '4951', '5397', 'v', '2533', '7115', 'E', 'p', 'D', 'R', 'V']
Output (English): 4951