#include using namespace std; int main() { int N; cin >> N; bool flag = true; long long a,b; cin >> a >> b; cout << ((a == b)?"Yes":"No") << endl; }