#include #define rep(i, n) for (int i = 0; i < n; i++) #define ll long long #define endl '\n' using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); ll n, m; cin >> n >> m; if (10 * n == m) { puts("Yes"); } else if (m == n && m % 2 == 0) { puts("Yes"); } return 0; }