a,b = map(int64, input().split()) aa = a-1 bb = b//aa n = bb+1 print(n)