Task: Program Execution
Input (English): 5, 6, ['D', 'P', 'R', '3259', '8343', '3583', 'U', '2309', 'h', '1623', '1041', '3623']
Output (English): 8343, 3583