Comprehension Passage
Direction: A word and number arrangement machine when given an input line of words and numbers arranges them following a particular rule in each step. The following is an illustration of input and rearrangement.

Step IV is the last step, as per the rules followed n the steps given above, find out in each of the following questions the appropriate step for the given input.
Input: 524136 123464 263672 452136 632141 156124
Which of the following element comes in step IV?
1
M
2
Q
3
V
4
R
5
P