diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,2 +1,2 @@
 a, b, c, d = map(int, input().split())
-print("Takahashi" if a * 24 + b <= c * 24 + d else "Aoki")
+print("Takahashi" if a * 60 + b <= c * 60 + d else "Aoki")
