#include<bits/stdc++.h>
using namespace std;

typedef long long ll;

main()
{
    int a, b, sum, c = 1;
    cin >> a >> b;
    sum = a;
    if(b == 1){
        cout << 0;
    }
    else if(b <= a){
        cout << 1;
    }
    else{
        while(1){
            sum = sum + (a - 1);
            c++;
            if(sum >= b){
                break;
            }
        }
        cout << c;
    }


}





///promy_pompom
//hello world

#include <bits/stdc++.h>
using namespace std;

int main() {
  int A, B;
  string S;
  cin >> A >> B >> S;
  string ans="Yes";
  for (int i=0; i<A; i++) {
    if (S[i]=='-') {
      ans="No";
    }
  }
  
  if (S[A]!='-') {
    ans="No";
  }
  
  for (int i=A+1; i<A+B+1; i++) {
    if (S[i]=='-') {
      ans="No";
    }
  }
  
  cout << ans << endl;
  
}
