#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  long long n, k;
  long long ans;
  cin >> n >> k;
  ans = k / n;
  if (k % n) ans++;
  cout << ans << endl;
  return 0;
}
