#Kadomore #import math def ka(b,c,d): if b==d: return 0 elif bd: return 1 elif b>c and c