diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,7 +5,7 @@
     base = S[0]
     isOk = False
     for i in range(1, N):
-        if S[:i] <= S[i:]:
+        if S[:i] < S[i:]:
             isOk = True
             print("Yes")
             break
