From 249f743fb76daaf351a3119c912f50dc62c30e93 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Mon, 22 Jul 2024 15:33:03 +0900 Subject: [PATCH] complete 11536.py --- zeta_python/completed/11536.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 zeta_python/completed/11536.py diff --git a/zeta_python/completed/11536.py b/zeta_python/completed/11536.py new file mode 100644 index 0000000..4bc65cb --- /dev/null +++ b/zeta_python/completed/11536.py @@ -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")