X,Y,G=map(int,input().split()) a=X*Y*G if a%3==0: print('yes') else: print('no')