n,x,y,*r=map(int,open(0).read().split()) R=sum(r[1:])*2 r=r[0] z=x*x+y*y if R==0: k=(z==r*r) else: k=((r-R)*2<=z<=(r+R)**2) print(['No','Yes'][k])