def main(): from sys import stdin readline=stdin.readline x,y,z = map(int, readline().split()) print('Yes' if (x*y*z)%3 == 0 else 'No') main()