output_description: For each data set, print "YES" or "NO".
input_description: Input consists of several data sets. In the first line, the number of data
  set, N is given. Then, N lines follow, each line corresponds to a data set. A
  data set consists of three integers separated by a single space.
attempt: a, b, c = map(int, input().split())
  if a**2 + b**2 == c**2:
      print("YES")
  else:
      print("NO")
  
problem_description: Is it a Right Triangle?
  
  Write a program which judges wheather given length of three side form a right
  triangle. Print "YES" if the given sides (integers) form a right triangle,
  "NO" if not so.
samples: [{"input": "4 3 5\n    4 3 6\n    8 8 8", "output": "YES\n    NO\n    NO"}]