You bought an 18 karats ring which contains 18g of gold. What is the % by mass of gold in a ring?