#include <bits/stdc++.h>
using namespace std;
const long long MOD = 100000000;
const long long MAXN = 2e6 + 20;
struct edge {
  long long from, to, cost;
};
int main() {
  long long i, j, k, t1, t2, t3, n, m, t;
  std::ios::sync_with_stdio(0);
  cin >> n >> k;
  cout << (k + n - 1) / n << '\n';
}
