NZEC error while submitting

''' total amount = x || withdrwal amount = y '''
y,x = input().split(" ")
y = int(y)
x = float(x)
if(0<=x<=2000.0 and 0<y<=2000):
    if(x>=(y+0.5) and y%5==0):
        print(round((x-y-0.5),2))
    else:
        print(round(x,2))

problem code: HS08TEST(ATM PROBLEM)… MY CODE has compiled successfully and also has given correct output but while submitting i am getting runtime error (NZEC) every time. How should i modify my code? please help
please help

Copy Sample Inputs from the problem and paste it on the space given below the IDE for custom input and then click on Run.

make sure to click on the check box for custom input.

Try modifying the above to

y, x = input().split()