[print(["YES", "NO"][0 if i[0] + i[1] == i[2] else 1]) for _ in range(int(input())) for i in [sorted([int(x) ** 2 for x in input().split()])] ] print(["YES", "NO"][0 if i[0] + i[1] == i[2] else 1]) for _ in range(int(input())) for i in [sorted([int(x) ** 2 for x in input().split()])] for _ in range(int(input())) for i in [sorted([int(x) ** 2 for x in input().split()])] _ range(int(input())) range int(input()) int input() input for i in [sorted([int(x) ** 2 for x in input().split()])] i [sorted([int(x) ** 2 for x in input().split()])] sorted([int(x) ** 2 for x in input().split()]) sorted [int(x) ** 2 for x in input().split()] for i in [sorted([int(x) ** 2 for x in input().split()])] print(["YES", "NO"][0 if i[0] + i[1] == i[2] else 1]) print ["YES", "NO"][0 if i[0] + i[1] == i[2] else 1] ["YES", "NO"] "YES" "NO" 0 if i[0] + i[1] == i[2] else 1 i[0] + i[1] == i[2] i[0] + i[1] i[0] i 0 i[1] i 1 i[2] i 2 0 1 [print(["YES", "NO"][0 if i[0] + i[1] == i[2] else 1]) for _ in range(int(input())) for i in [sorted([int(x) ** 2 for x in input().split()])] ]
[print(["YES", "NO"][0 if i[0] + i[1] == i[2] else 1]) for _ in range(int(input())) for i in [sorted([int(x) ** 2 for x in input().split()])] ]