import sys
for i in sys.stdin:
    try:
        sidelen = [int(j) for j in i.split(" ")]
        sidelen.sort(reverse=True)
        if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):
            print("YES")
        else:
            print("NO")
    except:
        continue import sys sys for i in sys.stdin:
    try:
        sidelen = [int(j) for j in i.split(" ")]
        sidelen.sort(reverse=True)
        if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):
            print("YES")
        else:
            print("NO")
    except:
        continue i sys.stdin sys stdin try:
        sidelen = [int(j) for j in i.split(" ")]
        sidelen.sort(reverse=True)
        if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):
            print("YES")
        else:
            print("NO")
    except:
        continue except:
        continue continue int(j) for j in i.split(" ") for j in i.split(" ") j i.split(" ") i.split i split " " for j in i.split(" ") int(j) int j sidelen = [int(j) for j in i.split(" ")] sidelen [int(j) for j in i.split(" ")] sidelen.sort(reverse=True) sidelen.sort sidelen sort reverse=True reverse True if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):
            print("YES")
        else:
            print("NO")
     sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2 sidelen[0]**2 sidelen[0] sidelen 0 2 sidelen[1]**2 + sidelen[2]**2 sidelen[1]**2 sidelen[1] sidelen 1 2 sidelen[2]**2 sidelen[2] sidelen 2 2 print("YES") print "YES" print("NO") print "NO" sidelen = [int(j) for j in i.split(" ")] [int(j) for j in i.split(" ")] sidelen
import sys
for i in sys.stdin:
    try:
        sidelen = [int(j) for j in i.split(" ")]
        sidelen.sort(reverse=True)
        if(sidelen[0]**2 == sidelen[1]**2 + sidelen[2]**2):
            print("YES")
        else:
            print("NO")
    except:
        continue