#include <bits/stdc++.h>
using namespace std;
int n, m;
string s;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  cin >> n >> m;
  int ans = 0;
  ans = m / n;
  m %= n;
  if (m) ans++;
  cout << ans;
}
