diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -11,7 +11,7 @@
         if cmb[0] in i and cmb[1] in i:
             flag = True
             break
-        else:
-            print("No")
-            exit()
+    else:
+        print("No")
+        exit()
 print("Yes" if flag else "No")
