#include using namespace std; #define INF 1000000007 #define LINF (1LL << 62) typedef long long i64; typedef pair P; inline i64 mod(i64 a, i64 m) { return (a % m + m) % m; } templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> a[i]; sort(a,a+4); for(int i = 1; i < 4; i++){ if(a[i] != a[i-1]+1){ cout << "No" << endl; return; } } cout << "Yes" << endl; } int main(){ std::cin.tie(0); std::ios::sync_with_stdio(false); int t = 1; //cin >> t; while(t--){ solve(); } return 0; }