How many steps are required to complete this arrangement?
Eleven
Input: class 25 war 15 race 73 heap 58 just 88 take 38
Step I: 88 class 25 war 15 race 73 heap 58 just take 38
Step II: 88 25 war 15 race 73 heap 58 just take 38 class
Step III: 88 73 25 war 15 race heap 58 just take 38 class
Step IV: 88 73 25 war 15 race 58 just take 38 class heap
Step V: 88 73 58 25 war 15 race just take 38 class heap
Step VI: 88 73 58 25 war 15 race take 38 class heap just
Step VII: 88 73 58 38 25 war 15 race take class heap just
Step VIII: 88 73 58 38 25 war 15 take class heap just race
Step IX: 88 73 58 38 25 15 war take class heap just race
Step X: 88 73 58 38 25 15 war class heap just race take
Step XI: 88 73 58 38 25 15 class heap just race take war
Step XI is the last step of the input.