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: Novosibirsk 43 27 forasmuch jolly 38 go 62
Step 1 : 62 Novosibirsk 43 27 forasmuch jolly 38 go
Step 2 : 62 forasmuch Novosibirsk 43 27 jolly 38 go
Step 3 : 62 forasmuch 43 Novosibirsk 27 jolly 38 go
Step 4 : 62 forasmuch 43 go Novosibirsk 27 jolly 38
Step 5 : 62 forasmuch 43 go 38 Novosibirsk 27 jolly
Step 6 : 62 forasmuch 43 go 38 jolly Novosibirsk 27
Step 7 : 62 forasmuch 43 go 38 jolly 27 Novosibirsk
Write the first letters of the given problem.
Step 1 : 62 N 43 27 f j 38 g
Step 1 : 62 f N 43 27 jolly 38 g
Step 2 : 62 f 43 N 27 jolly 38 g
Step 3 : 62 f 43 g N 27 jolly 38
Step 4 : 62 f 43 g 38 N 27 jolly
Step 5 : 62 f 43 g 38 jolly N 27
Step 6 : 62 f 43 g 38 jolly 27 N
As per the rule followed in the following questions the appropriate step for the given input.
Input : Input : cellularity wonderfully 21 42 58 Heidegger Belonidae 78
How many steps will be required to complete the re-arrangement?
IV
III
VI
VII
V
Input : c w 21 42 58 H B 78
Step I : 78 c w 21 42 58 H B
Step II : 78 B c 58 w 21 42 H
Step III : 78 B 58 c w 21 42 H
Step IV : 78 B 58 c 42 w 21 H
Step V : 78 B 58 c 42 H w 21
Step VI : 78 B 58 c 42 H 21 w