From fed7a05832a0b8c78fb9916ef32afced147ec2fd Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Mon, 3 Jul 2023 20:28:07 +0200 Subject: [PATCH] Forced Choice --- forcedchoice.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 forcedchoice.py diff --git a/forcedchoice.py b/forcedchoice.py new file mode 100644 index 0000000..eb041c6 --- /dev/null +++ b/forcedchoice.py @@ -0,0 +1,4 @@ +n, p, s = map(int, input().split()) +for _ in range(s): + cards = list(map(int, input().split()))[1:] + print("KEEP" if p in cards else "REMOVE")