#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, n, m, x;
  long long a, b;
  scanf("%lld%lld", &a, &b);
  printf("%lld\n", (long long)(long double)(b * 1.0 / a) +
                       ((a * (long long)(b * 1.0 / a) < b) ? 1 : 0));
  return 0;
}
