Pythagoras triplet querry

if there are 2 possible triplets which one we will print, for example-if user enters 8 then there 2 possible triplets (6,8,10) and (8,15,17).