Liam is setting up folding chairs for a meeting. If he arranges the chairs in 4 rows of the same length, he has 7 chairs left over. If he arranges the chairs in 2 rows of that same length, he has 19 left over. How many chairs does Llam have?​