#include <bits/stdc++.h>
using namespace std;
auto erz = []<class T>(std::vector<T> &vec, unsigned int index) {
  vec.erase(vec.begin() + index);
};
int gcd(int a, int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
void esh() {
  long long int n, k;
  cin >> n >> k;
  if (k % n)
    cout << (k / n) + 1;
  else
    cout << k / n;
}
int main() {
  std::ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  esh();
  return 0;
}
