This commit is contained in:
jethro committed 2023-07-25 09:14:22 +02:00
1 parent 7f4f85f804
commit 52ed4d25f8
1 file changed
+5
+5
View File
@@ -0,0 +1,5 @@
n, k = map(int, input().split())
x = list(map(int, input().split()))
for i in range(k - 1, n, k):
print(x[i])