complete 10895.py

This commit is contained in:
2024-08-07 09:01:53 +09:00
parent d97dff83d2
commit 4b2f4dcdf6

View File

@@ -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)))