#include <bits/stdc++.h>
using namespace std;
const int MaxN = 1e5;
const int Inf = 1 << 30;
int main() {
  long long n, k, ans;
  while (~scanf("%I64d %I64d", &n, &k)) {
    ans = k / n;
    if (k % n != 0) ans++;
    printf("%I64d\n", ans);
  }
  return 0;
}
