#include int main(){ int A,B; scanf("%d %d",&A,&B); int x; if(A == 1){ x = 0; } else { x = B/(1-A); } printf("%d",x); }