#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m;
  while (~scanf("%d%d", &n, &m)) {
    if (m % n == 0)
      printf("%d\n", m / n);
    else
      printf("%d\n", m / n + 1);
  }
  return 0;
}
