diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -56,7 +56,7 @@
         X = prod(X, POWA[n.bit_length() - 1], 1, 2, 2)  # n乗の場合
         n -= 1 << (n.bit_length() - 1)
 
-    print(X[0])
+    print(X[0][0])
     exit()
 
 
