A person inherits $29,000 with the stipulation that for the first year the money must be invested in two stocks paying 4% and 7% annual interest, respectively. What is the greatest amount that can be invested at 4% if the total interest earned for the year must be at least $1760 ?