a=b=1 while a<101: b=b%5000+1;a+=b<2;c=(a*a+b*b)**.5 if c%1==0:print a,b,int(c)