war 52 and peace 43 16 now 24
How many steps will be required to complete the rearrangement?
Six
Input: war 52 and peace 43 16 now 24
Step I: and war 52 peace 43 16 now 24
Step II: and 52 war peace 43 16 now 24
Step III: and 52 now war peace 43 16 24
Step IV: and 52 now 43 war peace 16 24
Step V: and 52 now 43 peace war 16 24
Step VI: and 52 now 43 peace 24 war 16