Which step is the last but one in the given input?
Directions: Study the following information to answer the given question:
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 its rearrangement.
(All numbers in the question are two-digit numbers)
Input: wait 11 lawn metal lavish 9 dust 8 38 caught 97 31 ankle 66 damn 96 72 offence
Step (1): 8 11 lawn metal lavish 9 dust 38 caught 97 31 ankle 66 damn 96 72 offence wait
Step (2): 8 9 11 lawn metal lavish dust 38 caught 97 31 ankle 66 damn 96 72 wait offence
Step (3): 8 9 38 11 lawn lavish dust caught 97 31 ankle 66 damn 96 72 wait offence metal
Step (4): 8 9 38 11 66 lavish dust caught 97 31 ankle damn 96 72 wait offence metal lawn
Step (5): 8 9 38 11 66 31 dust caught 97 ankle damn 96 72 wait offence metal lawn lavish
Step (6): 8 9 38 11 66 31 72 caught 97 ankle damn 96 wait offence metal lawn lavish dust
Step (7): 8 9 38 11 66 31 72 97 caught ankle 96 wait offence metal lawn lavish dust damn
Step (8): 8 9 38 11 66 31 72 97 96 ankle wait offence metal lawn lavish dust damn caught
Step (9): 8 9 38 11 66 31 72 97 96 wait offence metal lawn lavish dust damn caught ankle
This is the final arrangement and step 9 is the last step for this input.
Now, according to the above steps, solve this input.
Input: van 18 apricot 23 fault 7 37 nest 74 knot 58 drought 86 drum guest 4 nation 45
-
4 7 18 23 58 37 74 45 86 apricot van nest nation knot guest fault drum drought
-
4 7 18 23 58 37 74 45 86 van nest nation knot guest fault drum drought apricot
-
4 7 18 23 58 37 74 45 apricot drought 86 van nest nation knot guest fault drum
-
4 7 18 23 58 37 74 45 86 apricot van nest nation knot guest fault drought drum
-
4 7 18 23 58 37 74 86 45 apricot van nest nation knot guest fault drum drought
A
Correct answer
Explanation
For arranging the numbers, there are two Pattern follows . In first step even numbers are arranged and in second step odd numbers are arranged alternatively. 4, 18,58, 74, 86 follow even number series in increasing order and 7,23,37, 45 follows odd number series in increasing order .And alphabets are arranged in decreasing order.Step 1) 4 18 apricot 23 fault 7 37 nest 74 knot 58 drought 86 drum guest nation 45 van
Step 2) 4 7 18 apricot 23 fault 37 74 knot 58 drought 86 drum guest nation 45 van nest
Step 3) 4 7 18 23 apricot fault 37 74 knot 58 drought 86 drum guest 45 van nest nation
Step 4) 4 7 18 23 58 apricot fault 37 74 drought 86 drum guest 45 van nest nation knot
Step 5) 4 7 18 23 58 37 apricot fault 74 drought 86 drum 45 van nest nation knot guest
Step 6) 4 7 18 23 58 37 74 apricot drought 86 drum 45 van nest nation knot guest fault
Step 7) 4 7 18 23 58 37 74 45 apricot drought 86 van nest nation knot guest fault drum
Step 8) 4 7 18 23 58 37 74 45 86 apricot van nest nation knot guest fault drum drought
Step 9) 4 7 18 23 58 37 74 45 86 van nest nation knot guest fault drum drought apricot