import java.util.Scanner; public class FirstStep { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner kb=new Scanner(System.in); int a=kb.nextInt(); int b=kb.nextInt(); double time=(double)b/(double)a; if((0.5<=time%2&&time%2<1)||(1.5<=time%2&&time%2<2.0)){ time++; } else if(time>0){ time++; } System.out.printf("%d\n", (int)time); kb.close(); } }