#include using namespace std; int main() { int64_t A, B; cin >> A >> B; if(A == 1) cout << 0 << endl; else cout << B / (1 - A) << endl; return 0; }