#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n, m, s, ans;
  cin >> n >> s;
  ans = 0;
  m = n;
  while (m) {
    long long int temp = s / m;
    ans += temp;
    s = s % m;
    if (s == 0) {
      break;
    }
    if (s < n) {
      ans += 1;
      break;
    }
  }
  cout << ans << "\n";
  return 0;
}
