#include using namespace std; using i64 = long long; #define endl "\n" int main() { i64 X, Y, Z; cin >> X >> Y >> Z; if (X * Y % 3 * Z % 3 == 0) cout << "Yes" << endl; else cout << "No" << endl; return 0; }