Click Here to go back to the homepage.

Line Them Up Solution:


cases = int(input())
names = []
for _ in range(cases):
    names.append(input())
if names == sorted(names):
    print("INCREASING")
elif names == sorted(names, reverse=True):
    print("DECREASING")
else:
    print("NEITHER")