diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -12,7 +12,7 @@
         t += y
         pos = x - 1
 t -= sum(a[pos:])
-if t < 0:
+if t <= 0:
     print("No")
 else:
     print("Yes")
