complete 11536.py
This commit is contained in:
1 parent
4c2a222232
commit
249f743fb7
1 file changed
+11
@@ -0,0 +1,11 @@
|
||||
if __name__ == "__main__":
|
||||
N = int(input())
|
||||
I = [input() for _ in range(N)]
|
||||
I_a = sorted(I)
|
||||
I_d = I_a.copy()[::-1]
|
||||
if I == I_a:
|
||||
print("INCREASING")
|
||||
elif I == I_d:
|
||||
print("DECREASING")
|
||||
else:
|
||||
print("NEITHER")
|
||||
Reference in new issue
Block a user