diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -2,7 +2,7 @@
 n = int(n)
 for i in range(n):
     for j in range(n):
-        if i != j and s[i] + s[j] == [s[i] + s[j]][::-1]:
+        if i != j and s[i] + s[j] == (s[i] + s[j])[::-1]:
             print("Yes")
             exit()
 print("No")
