Answer: 5 benches and 23 students
Step-by-step explanation:
I will answer in English.
We have E students and B benches.
If we sit 4 students per bench, we have 3 students left.
then:
E = 4*B + 3
And if we sit 5 students per bench, there are two places with no students sited.
E = 5*B - 2
now we can replace the E in the second equation with the right part in the first equation:
4*B + 3 = 5*B - 2
3 + 2 = 5*B - 4*B
5 = B
So we have 5 benches, and:
E = 4*5 + 3 = 23 students.