#include using namespace std; using ll=long long; using ld=long double; using P=pair; using V=vector; #define rep(i,n) for(ll i=0;i> a >> b; if(a==1) cout << 1 << endl; else cout << b/(a-1)*-1 << endl; }