#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x>N>>S; if(N>=4) return _P("YES\n"); FOR(y,N) FOR(x,y+1) { int l=y-x+1; if(y+l