A, B = map(int, raw_input().split()) if B < A: print 1 quit() B *= 10 var = B*1.0 / A if var % 10 != 0: print int(var/10) + 1 elif var % 10 ==0: print int(var/10)