"use strict";
const Main = (input) =>{
   let xs = input.trim().split(' ').map(v=>parseInt(v,10));
   let a = xs[0];
   let b = xs[1];
   let ans = 0; 
   if(a >= b){
    ans = 1 
   	}else{
    let consent = Math.ceil(b / a);
    let tap = (consent-1) * (a-1)+ a
    ans = Math.ceil(tap / a);
    }
   console.log(ans);
   }
  
Main(require('fs').readFileSync('/dev/stdin','utf8'));