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: some found 19 other 99 27 came 45
Step 1 : came some found 19 other 99 27 45
Step 2 : came 99 some found 19 other 27 45
Step 3 : came 99 found some 19 other 27 45
Step 4 : came 99 found 45 some 19 other 27
Step 5 : came 99 found 45 other some 19 27
Step 6 : came 99 found 45 other 27 some 19
Step 6 is the last step of the rearrangement of the above input.
As per the rules followed in the following questions the appropriate step for the given input.
Input: one all 36 28 49 sleep maths 59
Which of the following will be last step?
4
7
5
8
6
Step 1: at one 36 28 49 sleeo maths 59
Step 2: at 59 one 36 28 49 sleep maths
Step 3: at 59 maths one 36 28 49 sleep
Step 4: at 59 maths 49 one 36 28 sleep
Step 5: at 59 maths 49 one 36 sleep 28