this is my current code I get far, stop then get blown up.

```
def mod30(n):
if n >= 30:
return n - 30
else:
return n
# This function should return a value from 0 to 40 (0 <= n < 40)
def mod40(n):
# Use an if-statement to return the correct value.
if (0 <= n < 40):
return n
# You don't need to change the following code:
while True:
time = hero.time
x = mod30(time) + 25
y = mod40(time) + 10
if y > 0:
hero.moveXY(x, y)
```