#include <bits/stdc++.h>
using namespace std;
void solve() {
  long double n, k;
  cin >> n >> k;
  cout << (long long)ceil(k / n) << "\n";
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  solve();
  return 0;
}
