#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 20;
const int mod = 1e9 + 7;
int main() {
  long long a, b;
  while (cin >> a >> b) {
    long long ans = b / a;
    if (b % a > 0) ans++;
    cout << ans << endl;
  }
  return 0;
}
