#include using namespace std; int main(){ int X, Y, Z; cin >> X >> Y >> Z; bool yes = false; yes |= (X % 3 == 0); yes |= (Y % 3 == 0); yes |= (Z % 3 == 0); cout << (yes ? "Yes" : "No"); }