Run time error

So I don’t know what’s wrong with my code, it says that I am using too much memory but I don’t know how to fix that. Could someone please explain to me what I should do so that I won’t come across this problem again?

Code:
x, y = int(input()), int(input())
if x < y:
if x % 5 == 0:
x += .5
y-= x
print(y)
else:
print(y)
else:
print(y)

Use this

x,y = list(map(int,input().split()))

for input.

1 Like

Yea I fixed it earlier thank you but I just wanted to know what the error means.

Did you mean this?

x,y = map(int,input().split())