#include using namespace std; int main() { int N; cin >> N; int cnt = 0; string A; for (int y = 0; y < N; y++) { cin >> A; for (char c: A) cnt += c == '.'; } cout << (N % 2 == 0 && cnt % 2 != 0 ? "No" : "Yes") << endl; return 0; }