Question 1
Input: plum 89 berry 73 grape 38 56 cherry
Step 1: 89 berry 73 grape 38 56 plum cherry
Step 2: berry 73 grape 38 56 plum cherry 89
Step 3: berry grape 38 56 plum 73 cherry 89
...
What is the final output?
Final output: berry 38 cherry 56 grape 73 plum 89