#include <bits/stdc++.h>
using namespace std;
inline long long read() {
  char c = getchar();
  long long x = 0, w = 1;
  while (c > '9' || c < '0') {
    if (c == '-') w = -1;
    c = getchar();
  }
  while (c >= '0' && c <= '9') {
    x = x * 10 + c - '0';
    c = getchar();
  }
  return x * w;
}
long long n, k;
int main() {
  n = read();
  k = read();
  if (k % n == 0)
    cout << k / n << endl;
  else
    cout << k / n + 1 << endl;
}
