#include #include #include using namespace std; int main(){ int N, M, X; cin >> N >> M >> X; if(M >= 3 && X >= 3){ cout << "YES" << endl; }else{ cout << "NO" << endl; } }