A box of candies contains caramel chocolates and chocolates with nuts. there are 3 times more caramel chocolates as there are chocolates with nuts. if there are 20 chocolates total, how many are there of each type?