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