#include // #include using namespace std; // using namespace atcoder; using ll = long long; using ull = unsigned long long; using P = pair; #define rep(i,n) for(ll i = 0;i < (ll)n;i++) #define ALL(x) (x).begin(),(x).end() #define MOD 1000000007 int main(){ ll k = 0; rep(i,3){ ll a;cin >> a; k += a; } cout << (k%3 ? "Yes\n" : "No\n"); return 0; }