from math import ceil def ulitka(a,b,h): return ceil((h-a)/(a-b)+1) print(ulitka(3,2,10))