#include using namespace std; int main(){ int T,A,B; cin>>T>>A>>B; if(A>T || B>T || (A==0 && B==0 && T==1)){ cout<<"NO"< updown(T),rightleft(T); for(int i=0;i