#include using namespace std; int main(){ int q,k; cin>>q>>k; if(q>=5&&k>=5){ cout<<"Yes"<=6){ cout<<"No"<