diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -11,7 +11,7 @@
     def waysToSplitArray(self, nums: List[int]) -> int:
         cnt = 0
         left = nums[0]
-        right = sum(nums[0:])
+        right = sum(nums[1:])
         if left >= right:
             cnt += 1
         for i in range(1, len(nums) - 1):
