#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, s;
  cin >> n >> s;
  long count = 0;
  while (n) {
    count = count + s / n;
    s = s % n;
    n--;
  }
  cout << count << "\n";
}
