Sóttkví

This commit is contained in:
2023-10-16 22:27:28 +02:00
parent 08da2c1c73
commit 1fa5411107

3
sottkvi.py Normal file
View File

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