#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long n, sum;
  cin >> n >> sum;
  long long temp = 0;
  long long cnt = 0;
  while (temp < sum) {
    if (temp + n <= sum) {
      temp += n;
      cnt++;
    } else {
      n--;
    }
  }
  cout << cnt << "\n";
  ;
  return 0;
}
