#include using namespace std; int n; char s[10]; int main() { cin >> n >> s + 1; cout << (s[n] == 'o' ? "Yes" : "No") << endl; return 0; }