Prerequisites: Basic course part I
For right-angled triangles, Pythagoras' theorem states that $$a^2+b^2=c^2$$ where a and b are legs and c is the hypotenuse.
Pythagoras' theorem applies if and only if the triangle is right-angled, which means that if the equation is not met, the triangle is not right-angled.
Your program should take three inputs, a, b and c, in that order. The program only needs to work for integers. Print Yes if the triangle is right-angled and No if it is not.
-- Output from your program will be here --