#include #include using namespace std; int main () { string a, b, c; cin >> a >> b >> c; cout << (b == c ? "No" : "Yes") << endl; }