Instructions: A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement.
Input: 51 pour 31 star new 23 47 home
Step 1 : 23 51 pour 31 star new 47 home
Step 2 : 23 star 51 pour 31 new 47 home
Step 3 : 23 star 31 51 pour new 47 home
Step 4 : 23 star 31 pour 51 new 47 home
Step 5 : 23 star 31 pour 47 51 new home
Step 6 : 23 star 31 pour 47 new 51 home
As per the rule followed in the following questions the appropriate step for the given input.
Input: 72 59 37 go for picnic 24 journey
How many steps will be required to complete the rearrangement?
Two
Four
Five
Six
Three
Step 1: 24 72 59 37 go for picnic journey
Step 2: 24 picnic 72 59 37 go for journey
Step 3: 24 picnic 37 72 59 go for journey
Step 4: 24 picnic 37 journey 72 59 go for
Step 5: 24 picnic 37 journey 59 72 go for
Step 6: 24 picnic 37 journey 59 go 72 for