diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,12 +1,10 @@
 N, K = map(int, input().split())
 A = list(map(int, input().split()))
-
 
 A.sort()
 A_lim = list(set(A))
 for i in range(len(A) - len(A_lim)):
     A_lim.append(A_lim[-1])
-
 check = 0
 ans = 0
 flag = True
@@ -16,7 +14,7 @@
         check += 1
     else:
         ans = i
-        Flag = False
+        flag = False
         break
 
 if flag == True:
