#include int main () { long long a = 0LL; long long b = 0LL; int res = 0; res = scanf("%lld", &a); res = scanf("%lld", &b); if (a == 1LL) { printf("0\n"); return 0; } printf("%lld\n", b/(1LL-a)); return 0; }