Walt made an extra $ 9000 last year from a part-time job . He invested part of the money at 9 % and the rest at 8 % . He made a total of $ 770 in interest . How much was invested at 8 %?