Task: Program Execution
Input (English): 2, 2, ['V', '6471', 'r', 'U', 'R', 'V', '1441', '9993', 'D', 'o']
Output (English): 6471, U, V, 9993, o