diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,6 +1,6 @@
 n = int(input())
 s = [list(input()) for _ in range(n)]
-ans = 100
+ans = 100000
 for i in range(10):
     num = str(i)
 
@@ -9,10 +9,8 @@
         for k in range(n):
             if slot[k] == False and s[k][(j) % 10] == num:
                 slot[k] = True
-
                 break
         if all(slot):
             ans = min(ans, j)
-
             break
 print(ans)
