#include <bits/stdc++.h>
using namespace std;
const int inf = (int)1e9;
const int mod = inf + 7;
const double eps = 1e-9;
const double pi = acos(-1.0);
long long n, k;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0);
  cin >> n >> k;
  cout << (k + n - 1) / n << endl;
}
