#include <bits/stdc++.h>
int main() {
  long int n, s, sum = 0, z, count = 0;
  scanf("%ld%ld", &n, &s);
  z = s;
  do {
    if (s >= n) {
      sum = sum + (s / n) * n;
      count = count + (s / n);
      s = s - (s / n) * n;
    } else
      n = n - 1;
  } while (s != 0 && n != 0);
  printf("%ld", count);
  return 0;
}
