#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, s, ct = 0, p = 0;
  cin >> n >> s;
  while (s > 0) {
    p = s / n;
    s = s - (p * n);
    ct = ct + p;
    n--;
  }
  cout << ct << endl;
}
