Instructions: A word and number arrangement machine when given an input line of words and numbers rearrange them following a particular rule in each step. The following is an illustration of input and rearrangement.
Input: Woolf 33 75 venter 26 nevoid desmid 17
Step 1 : 75 Woolf 33 venter 26 nevoid desmid 17
Step 2 : 75 desmid Woolf 33 venter 26 nevoid 17
Step 3 : 75 desmid 33 Woolf venter 26 nevoid 17
Step 4 : 75 desmid 33 nevoid Woolf venter 26 17
Step 5 : 75 desmid 33 nevoid 26 Woolf venter 17
Step 6 : 75 desmid 33 nevoid 26 venter Woolf 17
Step 7 : 75 desmid 33 nevoid 26 venter 17 Woolf
As per the rule followed in the following questions the appropriate step for the given input.
Input : 86 24 97 casbah overarch forage 42 wing.
How many steps will be required to complete the re-arrangement?
IV
V
III
VII
VI
Input : 86 24 97 c o f 42 w.
Step I : 97 86 24 c o f 42 w.
Step II : 97 c 86 24 o f 42 w.
Step III : 97 c 86 f 24 o 42 w.
Step IV : 97 c 86 f 42 24 o w.
Step V : 97 c 86 f 42 o 24 w