# Input Output 9

Directions (1-5): 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: 16 wind tall 67 81 goes into 56 12 flower 21 butter
Step I: 12 16 tall 67 81 goes into 56 flower 21 butter wind
Step II: 16 12 67 81 goes into 56 flower 21 butter wind tall
Step III: 21 16 12 67 81 goes 56 flower butter wind tall into
Step IV: 56 21 16 12 67 81 flower butter wind tall into goes
Step V: 67 56 21 16 12 81 butter wind tall into goes flower
Step VI: 81 67 56 21 16 12 wind tall into goes flower butter
Step VI is the last step for rearrangement.
As per the above rule followed in the above steps, find out in each of the following questions the appropriate step for the input given below;
INPUT:  24 grow waste 19 42 queue 17 pen 50 mirror

Solution

Solution:-
INPUT:  24 grow waste 19 42 queue 17 pen 50 mirror
Step I: 17 24 grow 19 42 queue pen 50 mirror waste
Step II: 19 17 24 grow 42 pen 50 mirror waste queue
Step III: 24 19 17 grow 42 50 mirror waste queue pen
Step IV: 42 24 19 17 grow 50 waste queue pen mirror
Step V: 50 42 24 19 17 waste queue pen mirror grow

1. What will be the 3rd step of the input?
(1) 19 17 24 grow waste 50 42 pen mirror queue                 (2) 19 17 24 grow 42 pen 50 queue mirror waste
(3) 24 19 17 42 pen 50 queue waste mirror grow                 (4) 24 19 17 42 50 mirror queue waste pen grow
(5) None of these

2. Which step will be 17 24 grow 19 42 queue pen 50 mirror waste?
(1) 1st             (2) 2nd             (3) 3rd                (4) 4th             (5) 5th

3. What will be the third element from right in step II?
(1) Queue              (2) pen            (3) 50                (4) 17               (5) None of these

4. Which will be the 2nd element from left in step IV?
(1) Waste             (2) 24              (3) 17              (4) pen                 (5) None of These