#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, s;
  cin >> n >> s;
  int sum = 0;
  while (s) {
    if (s >= n) {
      s -= n;
      sum++;
    } else
      n--;
  }
  cout << sum;
  return 0;
}
