k,l,m=map(int,input().split()) print("NYoe s"[k*l*m%3==0::2])