Study the following information carefully and answer the given questions:
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 the input and rearrangement. (All the numbers are two-digit numbers.)
Input: 76 pink 83 colour 79 each 65 owl ice 81
Step I: each 76 pink 83 colour 79 65 owl ice 81
Step II: each 65 76 pink 83 colour 79 owl ice 81
Step III: each 65 ice 76 pink 83 colour 79 owl 81
Step IV: each 65 ice 76 owl pink 83 colour 79 81
Step V: each 65 ice 76 owl 79 pink 83 colour 81
Step VI: each 65 ice 76 owl 79 colour pink 83 81
Step VII: each 65 ice 76 owl 79 colour 81 pink 83
Step VII is the last step of the above input as the desired arrangement is obtained.
As per the rules followed in the steps, find the appropriate step for the given input.
Input: magazine 14 desire 21 input 13 28 expire activate 25 30
How many steps would be required to get the final output?