#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, a, b, lo = 0, hi = m, res;
  scanf("%I64d %I64d", &a, &b);
  m = (b - 1) / a;
  m++;
  printf("%I64d\n", m);
  return 0;
}
