#include <bits/stdc++.h>
using namespace std;
const int N = 300007;
signed long long int gcd(signed long long int u, signed long long int v) {
  return (v != 0) ? gcd(v, u % v) : u;
}
int main() {
  long double n, k;
  cin >> n >> k;
  cout << (long long)(ceil(k / n));
}
