#include using namespace std; int main(){ int a, b; cin >> a >> b; if(2 * a <= b && b * 2 <= a && a == b){ cout << "Yes" << endl; }else { cout << "No" << endl; } return 0; }