complete 11536.py

This commit is contained in:
yenru0 committed 2024-07-22 15:33:03 +09:00
1 parent 4c2a222232
commit 249f743fb7
1 file changed
+11
+11
View File
@@ -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")