REASONING ABILITY
Q.1-5. When a word and number arrangement is given an input line of words and numbers, it arranges them following a particular
rule. The following is an illustration of input and rearrangement.
Input: 40 nonsense chat 30 48 destination total figment 60 80 90 generation ornament 20
Step I: 40 nonsense chat 30 48 destination figment 60 80 90 generation ornament total 20
Step II: 40 nonsense chat 48 destination figment 60 80 90 generation total 20 ornament 30
Step III: chat 48 destination figment 60 80 90 generation total 20 ornament 30 nonsense 40
Step IV: chat destination figment 60 80 90 total 20 ornament 30 nonsense 40 generation 48
Step V: chat destination 80 90 total 20 ornament 30 nonsense 40 generation 48 figment 60
Step VI: chat 90 total 20 ornament 30 nonsense 40 generation 48 figment 60 destination 80
Step VII: total 20 ornament 30 nonsense 40 generation 48 figment 60 destination 80 chat 90
And step VII is the last step of the above arrangement. As per the rules
followed in the step, find out the appropriate step for the given input.