I'm fine with regular substitution problems, but this word problem is really bothering me:

A writing workshop enrolls novelists and poets in a ratio of 5 to 3. There are 24 people at the workshop. How many novelists are there? How many poets are there?

I've tried to write down some equations, but they were all wrong. Does n + p = 24?