#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, s, count = 1;
  cin >> n >> s;
  long sum = n;
  for (int i = n; i > 0;) {
    if (s >= sum + i) {
      sum = sum + i;
      count++;
    }
    if (s < sum + i) i--;
    if (sum == s) break;
  }
  cout << count;
}
