#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, i, j, k, c;
  while (cin >> n >> k) {
    if (k % n == 0) {
      cout << k / n << endl;
    } else {
      cout << k / n + 1 << endl;
    }
  }
  return 0;
}
