a,b,c = map(int().split()) n = a*b*c if n%3 == 0: print('Yes') else: print('No')