diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -9,7 +9,7 @@
             ok = True
         elif s[i] == "x":
             print("No")
-            break
+            return
 
     if ok == True:
         print("Yes")
