#include <algorithm>
#include <iostream>
#include <string.h>
 
using namespace std; 

long long a,b;

int check(long long n){
  if(n*a>=b)return 1;
  return 0;
}
 
int main(){
  cin>>a>>b;
  int low = 0;
  int high = 2000000000;

  while(low < high){
    int mid = (high + low) >> 1;

    if(check(mid) == 1){
      high = mid;
    }
    else{
      low = mid + 1;
    }
  }
  cout << low << endl;
  return 0;
}