#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using lint = long long int; long long int INF = 1001001001001001LL; int inf = 1000000007; long long int MOD = 1000000007LL; double PI = 3.1415926535897932; templateinline void chmin(T1 &a,const T2 &b){if(a>b) a=b;} templateinline void chmax(T1 &a,const T2 &b){if(a a(4); for(int i = 0; i < 4; i++) cin >> a[i]; sort(ALL(a)); bool flag = true; for(int i = 1; i < 4; i++) { if(a[i] != a[i - 1] + 1) flag = false; } if(flag) cout << "Yes" << endl; else cout << "No" << endl; return 0; }