#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, j, k, i, T;
  while (cin >> n >> k) {
    if (k <= n)
      cout << "1" << endl;
    else {
      if (k % n != 0)
        cout << k / n + 1 << endl;
      else
        cout << k / n << endl;
    }
  }
  return 0;
}
