Liam is setting up folding chairs for a meeting. If he arranges the chairs in 8 rows of the same length, he has 7 chairs left over. If he arranges the chairs in 6 rows of that same length, he has 17 left over. How many chairs does Liam have?

NEED IT FINISHED BY 2:15 need answer ASAP