Chad is eating a 50-gram chocolate bar which contains 30% cocoa. How many grams of cocoa are in the chocolate bar?