a,b,c = map(int, input().split()) x = a * b * c if x % 3: print("No") else: print("Yes")