diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,7 +5,7 @@
 for i in range(q):
     t, x = map(int, input().split())
     if t == 1:
-        cnt += 1
+        cnt += x
         cnt = cnt % n
     if t == 2:
         print(s[(n - cnt + (x - 1)) % n])
