Coach Juhyuk likes to line his players up in name order, but he never says which order. Given the names of the players in the order they are standing, decide whether the names go up or down in dictionary order.
Two names are compared letter by letter from the front, and the first position where they differ decides the order. If one name matches the beginning of the other all the way to its end, the shorter name comes first.