A jeweler had a fixed amount of gold to make bracelets and necklaces. The amount of gold in each bracelet is 5 grams and the amount of gold in each necklace is 24 grams. The jeweler made a total of 12 bracelets and necklaces using 155 grams of gold. Determine the number of bracelets made and the number of necklaces made.