#include #include #include #include using namespace std; using ll=long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int n; cin>>n; int h,w; cin>>h>>w; if(h==1||w==1||h==w)cout<<"Yes"<