Llam is setting up folding chairs for a meeting. If he arranges the chairs In 7 rows of the same length, he has 5 chairs left over. If he arranges the chairs in 5 rows of that same length, he has 23 left over. How many chalrs does Llam have?​