Input: go 123 ship be 45 67 log
Which among the given steps will be the last step for the given input?
IV
From the last step, it can be concluded that words and numbers are arranged alternately, the words are arranged as per dictionary order followed by the least number among the given numbers.