Task: Program Execution
Input (English): 6, 10, ['4369', '3935', 'U', 'D', 'o', 'j', '2197', 'r', 'D', '5311', 's', 'c', 'a', '5731', 'B']
Output (English): 5311Dr2197j