#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n, s, sum = 0;
  cin >> n >> s;
  for (int i = n; i >= 1; i--) {
    while (i <= s) {
      s -= i;
      sum++;
    }
    if (s <= 0) break;
  }
  cout << sum << endl;
  return 0;
}
