diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,5 +1,6 @@
-A = ["RGB", "GBR", "BRG"]
+A = ["R G B", "G B R", "B R G"]
 
 S = input()
 T = input()
+
 print("Yes" if (S in A) == (T in A) else "No")
