diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,5 +1,7 @@
 s = input()
 t = input()
+s = s.replace(" ", "")
+t = t.replace(" ", "")
 cnt = 0
 for i in range(3):
     if s[i] != t[i]:
