From 1fa541110748d3dc0286c368c3ea9e5c554ffec3 Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Mon, 16 Oct 2023 22:27:28 +0200 Subject: [PATCH] =?UTF-8?q?S=C3=B3ttkv=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sottkvi.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sottkvi.py diff --git a/sottkvi.py b/sottkvi.py new file mode 100644 index 0000000..f9ca346 --- /dev/null +++ b/sottkvi.py @@ -0,0 +1,3 @@ +n, k, d = map(int, input().strip().split()) +birthday = d + k +print(sum([1 if int(input()) + 14 <= birthday else 0 for _ in range(n)]))