#include <bits/stdc++.h>
using namespace std;
int book[100010];
char str[100010];
char ptr[100010];
int a[100010];
int main() {
  int n, m, i, j, sum, num, t;
  cin >> n >> m;
  sum = m / n;
  if (sum * n >= m) {
    cout << sum << endl;
  } else {
    sum++;
    cout << sum << endl;
  }
}
