Instructions

Directions: Study the given information and answer the following questions: When a word and number arrangement machine 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 (All the numbers are two-digit numbers).

Input: 40 made butter 23 37 cookies salt extra 52 86 92 fell now 19

Step I: butter 19 40 made 23 37 cookies salt extra 52 86 92 fell now

Step II: cookies 23 butter 19 40 made 37 salt extra 52 86 92 fell now

Step III: extra 37 cookies 23 butter 19 40 made salt 52 86 92 fell now.

Step IV: fell 40 extra 37 cookies 23 butter 19 made salt 52 86 92 now.

Step V: made 52 fell 40 extra 37 cookies 23 butter 19 salt 86 92 now.

Step VI: now 86 made 52 fell 40 extra 37 cookies 23 butter 19 salt 92

Step VII: Salt 92 now 86 made 52 fell 40 extra 37 cookies 23 butter 19

Step VII is the last step of the above arrangement as the intended arrangement is obtained. As per the rules followed in the given steps, find out the appropriate steps for the given input.

Input: 32 proud girl beautiful 48 55 97 rich family 61 72 17 nice life.

Question 19

# What is the position of 'nice' from the left end in the final step?

Solution

Input: 32 proud girl beautiful 48 55 97 rich family 61 72 17 nice life

Step 1: beautiful 17 32 proud girl 48 55 97 rich family 61 72 nice life

Step 2: family 32 beautiful 17 proud girl 48 55 97 rich 61 72 nice life

Step 3: girl 48 family 32 beautiful 17 proud 55 97 rich 61 72 nice life

Step 4: life 55 girl 48 family 32 beautiful 17 proud 97 rich 61 72 nice

Step 5: nice 61 life 55 girl 48 family 32 beautiful 17 proud 97 rich 72

Step 6: proud 72 nice 61 life 55 girl 48 family 32 beautiful 17  97 rich

Step 7: rich 97 proud 72 nice 61 life 55 girl 48 family 32 beautiful 17

Output: rich 97 proud 72 nice 61 life 55 girl 48 family 32 beautiful 17

'nice' occupies the 5th position.