#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a void drop(const T &x){cout<>a>>b>>c>>d; vector vs({a,b,c,d}); sort(vs.begin(),vs.end()); for(Int i=0;i<3;i++) if(vs[i+1]!=vs[i]+1) drop("No"); drop("Yes"); return 0; }