diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -1,6 +1,6 @@
 n = int(input())
 s = input()
 if "ABC" in s:
-    print(s.find("ABC"))
+    print(s.find("ABC") + 1)
 else:
     print(-1)
