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