diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,6 +1,6 @@
 S = input()
 
-if S == "ACE" or "BDF" or "CEG" or "DFA" or "EGB" or "FAC" or "GBD":
+if S == "ACE" or S == "BDF" or S == "CEG" or S == "DFA" or S == "EGB" or S == "FAC" or S == "GBD":
     print("Yes")
 else:
     print("No")
