why i am getting runtime error?

#this is a code for practice question ceil and a-b problem.

a=int(input())
b=int(input())

if (a-b)//10==9 :
print((a-b)-1)
else :
print((a-b)+1)