#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string  S;
  int A,B;
  cin >> A >> B;
  S.size() = A + B + 2;
  for(int i = 0; i < S.size(); i++){
   if(S.at(A + 1) == '-'){
    cout << "Yes" << endl;
   }
    else{
      cout << "No" << endl;
    }
  }
}