#include using namespace std; using ll = long long; #ifdef LOCAL #include #else #define debug(...) #endif int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cout << fixed << setprecision(20); int n, x; cin >> n >> x; cout << (n == 1 ? (x == 0 ? "Yes" : "No") : "Yes") << "\n"; }