#include using namespace std; int main() { string a, b, c; cin >> a>>b>>c; if((c == "#.#")&&(b==".#.")&&(a =="#.#")){ cout <<"Yes"; } else if ((c == ".#.")&&(b=="#.#")&&(a == ".#.")){ cout<< "Yes"; } else{ cout << "No"; } }