#include <bits/stdc++.h>
using namespace std;
const int N = 2e5 + 10;
const int SQRTN = 320;
const int LOGN = 20;
const double PI = acos(-1);
const double Tau = 2 * acos(-1);
long long n, k;
int main() {
  cin >> n >> k;
  k = k / n + ((k % n) != 0);
  cout << k << endl;
  return 0;
}
