#include <bits/stdc++.h>
using namespace std;
const int MAXN = 500010;
int main() {
  long long n, k;
  cin >> n >> k;
  long long loc = k / n;
  if (k % n) loc++;
  cout << loc << "\n";
  return 0;
}
