ATM python wrong output

atm
python3
wrong-answer

#1

whats wrong with my code?

m,n=input().split()
m,n=int(m),float(n)

if m%5==0 and (m+0.5)0 and n>=0:
a=n-m-(0.5)
print("{:.2f}".format(a))
else:
print("{:.2f}".format(n))


#2

put this in your checking condition (m+.5)<=n