a=eval(input())b=eval(input())c=eval(input())if((a*a+b*b==c*c)or(a*a+c*c==b*b)or(b*b+c*c==a*a)): print("YES")else: print("NO")