#include <bits/stdc++.h>
using namespace std;
template <typename... Args>
inline void unused_args(Args &&...args) {
  (void)(sizeof...(args));
}
int main() {
  std::ios_base::sync_with_stdio(false);
  std::streamsize ss = cout.precision();
  unused_args(ss);
  long long n, k;
  cin >> n >> k;
  long long ans = k % n ? k / n + 1 : k / n;
  cout << ans << endl;
  return 0;
}
