Please use a system of equations to solve this problem. I already know how to solve this, but I want to know how to solve it using a system of equations. A writing workshop enrolls novelists and poets in a ratio of 5:3. There are 24 people at the workshop. How many novelists are there and how many poets are there?