For a primitive triple, input a natural number r = and an odd natural number s = that is relatively prime to r.
(x, y, z) =