diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -3,7 +3,7 @@
 lis = []
 d = []
 b = 0
-for j in range(int(N / 7)):
+for j in range(int(N)):
     for k in l[7 * b : 7 * (b + 1)]:
         lis.append(k)
     d.append(sum(lis))
