#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 10;
int n, s;
int main() {
  scanf("%d%d", &n, &s);
  int cnt = 0;
  while (s) {
    while (s - n >= 0) {
      s -= n;
      cnt++;
    }
    n--;
  }
  printf("%d\n", cnt);
  return 0;
}
