main=mapM putStrLn[unwords$map show[a,b,c]|a<-[3..100],b<-[3..div(a^2)2],even$a*b,c<-[b..b+a],c^2==a^2+b^2]