a,b = gets.split.map(&:to_i) syou_amari = b.divmod(a) if syou_amari[1] puts syou_amari[0] + 1 else puts syou_amari[0] end