#include <bits/stdc++.h>
int main() {
  long long n, k;
  while (scanf("%lld%lld", &n, &k) != EOF) {
    long long t;
    t = k / n;
    if (t * n != k)
      printf("%lld\n", t + 1);
    else
      printf("%lld\n", t);
  }
  return 0;
}
