A total of $32,000 is to invested, some in bonds and some in certificates of deposit (CDs). If the amount invested in bonds is to exceed that in CDs by $8,000, how much will be invested in each type of investment