P,Q,R=map(int,input().split()) print("YNeos"[Q*2!=P+R::2])