#include int main(void){ int a,b,ans; scanf("%d %d",&a,&b); ans=b/a; if(ans%2!=0)ans++; printf("%d\n",ans); return 0; }