A total of $ 50,000 is invested in two funds paying 8 % and 8.5 % simple interest . The annual interest is $ 4120 . How much is invested in each fund ?