#include<iostream.h>

//I ONLY NEED THE NUMBERS THAT PROVE TRUE

//IN COMPUTING PYTHAGOREAN THEORM

//X^2 + Y^2 = Z^2

main()

{

int z,x,y;

for (x = 0 ; x <=500;x++)

for ( y = 0; y <=500; y++)

for (z = 0; z <=500; z++)

//I only need the z that proves pythagorean thereom printed

//HELP ME

if ((z*z) == (x*x) + (y*y))

cout<<x<<" + "<<y<<" = "<<z<<"\n";

return 0;

}