#include <bits/stdc++.h>
using namespace std;
long long func(long long n, long long k) {
  long long temp = k;
  long long sum = 0;
  while (true) {
    temp -= n;
    sum++;
    if (temp <= 0) {
      break;
    }
  }
  return sum;
}
int main() {
  long long n, k, h;
  cin >> n >> k;
  if (n >= k) {
    h = 1;
  } else {
    if (k % n != 0)
      h = k / n + 1;
    else
      h = k / n;
  }
  cout << h << endl;
  return 0;
}
