ok but the problem is that int(1+0.5) = 1 and int(1-0.5)=0. This code doesn't do what it looks like