#include using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; if(n % 2 == 1){ cout << "Yes\n"; return 0; } int f = 0; string s; for(int y = 0; y < n; y++){ cin >> s; f ^= count(s.begin(), s.end(), '#') & 1; } cout << (f == 0 ? "Yes" : "No") << '\n'; }