#include // #include #define rng(a) a.begin(),a.end() #define rrng(a) a.rbegin(),a.rend() #define INF 2000000000000000000 #define ll long long #define ld long double #define pll pair using namespace std; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b A(3); ll sum = 0; bool same = true; for (ll i = 0; i < 3; ++i) { cin >> A.at(i); sum += A.at(i); if (A.at(i) != A.at(0)) { same = false; } } if (sum % 3 != 0) { cout << "No" << "\n"; return 0; } else if (sum >= 6 || same) { cout << "Yes" << "\n"; } else { cout << "No" << "\n"; } }