using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Egypt { class Program { static void Main(string[] args) { ushort a, b, c; string s = Convert.ToString(Console.ReadLine()); string[] s1= s.Split(' '); a = Convert.ToUInt16(s1[0]); b = Convert.ToUInt16(s1[1]); c = Convert.ToUInt16(s1[2]); if ((a * a == b * b + c * c) || (b * b == a * a + c * c) || (c * c == a * a + b * b)) { Console.WriteLine("YES"); } else { Console.WriteLine("NO"); } } } }