a rectangle the length of which is 8 inches and the width of which is 6 inches is made up 48 1 inch by 1 inch squares . through how many of the squares does a diagonal of the rectangle pass ?
n0 = 8.0
n1 = 6.0
n2 = 48.0
n3 = 1.0
n4 = 1.0
t0 = n0 + n1
answer = t0 - 2.0
print(answer)