diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -4,7 +4,6 @@
 AC = [list(map(int, input().split())) for _ in range(N)]
 AC = sorted(AC)
 AC = sorted(AC, key=lambda x: x[1])
-print(AC)
 num = AC[0][1]
 _min = AC[0][0]
 for i in AC[1:]:
@@ -12,3 +11,4 @@
         num = i[1]
         if _min < i[0]:
             _min = i[0]
+print(_min)
