From 4b2f4dcdf6d07000d9486eb38f68875199f2e65e Mon Sep 17 00:00:00 2001 From: yenru0 Date: Wed, 7 Aug 2024 09:01:53 +0900 Subject: [PATCH] complete 10895.py --- zeta_python/completed/10895.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 zeta_python/completed/10895.py diff --git a/zeta_python/completed/10895.py b/zeta_python/completed/10895.py new file mode 100644 index 0000000..e3a464c --- /dev/null +++ b/zeta_python/completed/10895.py @@ -0,0 +1,2 @@ +a, k = map(int, input().split()) +print(1 if a == 1 else (a if k == 0 else (a if a % 2 else 1)))