Let be the set of all positive rational numbers such that when the two numbers and are written as fractions in lowest terms, the sum of the numerator and denominator of one fraction is the same as the sum of the numerator and denominator of the other fraction. The sum of all the elements of can be expressed in the form where and are relatively prime positive integers. Find