A word and number arrangement machine rearranges words and numbers in a specific sequence. Given the input:
67hotsun19best83ice49ace77cut37
How many steps will the machine take to complete the arrangement following the same rules as illustrated below?
Illustration:
Input:
52peak91snowfreeze46cold15high3173trek
Step I:
1552peaksnowfreeze46coldhigh3173trek91
Step II:
153152peaksnowfreeze46coldhightrek7391
Step III:
153146peaksnowfreezecoldhightrek527391
Step IV:
153146coldpeaksnowfreezehightrek527391
Step V:
153146coldfreezepeaksnowhightrek527391
Step VI:
153146coldfreezehighpeaksnowtrek527391
Step VI is the final step of the rearrangement.
Choose the correct number of steps required to complete the arrangement for the given input.