diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -2,7 +2,7 @@
 if len(s) == 2 and s == "oo":
     print("No")
     exit()
-else:
+elif len(s) == 2:
     print("Yes")
     exit()
 if len(s) == 1:
