Task: Program Execution
Input (English): w, b, unshored,, W, I, s, retreats, B
Output (English): wbunshored,WIsretreatsB