#include <bits/stdc++.h>
using namespace std;
const int max_n = 1000011, log_n = 32, max_m = 111, mod = 1000000007,
          inf = 1011111111;
long long n, k;
int main() {
  cin >> n >> k;
  cout << (k - 1) / n + 1 << endl;
  return 0;
}
