#include #include // string, to_string, stoi #include // vector #include // min, max, swap, sort, reverse, lower_bound, upper_bound #include // pair, make_pair #include // tuple, make_tuple #include // int64_t, int*_t #include // printf #include // map #include // queue, priority_queue #include // set #include // stack #include // deque #include // unordered_map #include // unordered_set #include // bitset #include // isupper, islower, isdigit, toupper, tolower #include //setprecision #include #include #include using namespace std; template bool chmax(T &u, const T z) { if (u < z) { u = z; return true; } else return false; } template bool chmin(T &u, const T z) { if (u > z) { u = z; return true; } else return false; } #define ll long long typedef pair P; const ll INF = 1LL << 60; //const ll MOD=1000000007; int MOD = 998244353; #define rep(i,a, n) for (int i = a; i < (int)(n); ++i) //using mint=modint1000000007; int H, W; vector fi; void chmin(int& t, int f) { if (f < t) t = f; } ll dp[2][20000001];//0=↑↑1=➡➡2=↑➡3=➡↑ int op(int a,int b){ return a^b; } int e(){ return 0; } int main(){ ll a,b,c;cin>>a>>b>>c; if((a+b+c)%3==0)cout<<"Yes"; else cout<<"No"<