From 7b7c85d278840101cca09d063cdd5bf6a81e350c Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Wed, 19 Jul 2023 20:56:22 +0200 Subject: [PATCH] Judging Moose --- judgingmoose.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 judgingmoose.py diff --git a/judgingmoose.py b/judgingmoose.py new file mode 100644 index 0000000..6ac5786 --- /dev/null +++ b/judgingmoose.py @@ -0,0 +1,7 @@ +l, r = map(int, input().split()) +if l == r == 0: + print("Not a moose") +elif l == r: + print(f"Even {l+r}") +else: + print(f"Odd {max((l, r)) * 2}")