#include <bits/stdc++.h>
using namespace std;
int calc(int n, int s) {
  if (s == 0) return 0;
  return s / min(n, s) + calc(n, s % min(n, s));
}
int32_t main() {
  int n, s;
  cin >> n >> s;
  cout << calc(n, s) << "\n";
  return 0;
}
