Suppose the average yearly salary of an individual whose final degree is a master's is $47 thousand less than twice that of an individual whose final degree is a bachelor's. Combined, two people with each of these educational attainments earn $124 thousand. Find the average yearly salary of an individual with each of these final degrees.