#include <bits/stdc++.h>
using namespace std;
int cnt;
int main() {
  int n, m;
  cin >> n >> m;
  if (m % n == 0) {
    cout << m / n;
    return 0;
  }
  while (m++) {
    if (m % n == 0) {
      break;
    }
  }
  cout << m / n;
}
