A total of 1595 grade 9 and grade 10 students gathered at Endibr

town. The number of grade 9 exceeded the number of grade 10 by
15. How many Grade 9 and grade 10 students were gathered at
Wolkite town?

Let's denote the number of grade 9 students as G9 and the number of grade 10 students as G10.

From the information given, we can come up with two equations:
1. G9 + G10 = 1595 (total number of students gathered)
2. G9 = G10 + 15 (the number of grade 9 exceeded grade 10 by 15)

Substitute the second equation into the first equation:
G10 + 15 + G10 = 1595
2G10 + 15 = 1595
2G10 = 1580
G10 = 790

Now, substitute G10 back into the second equation to find G9:
G9 = 790 + 15
G9 = 805

Therefore, there were 805 grade 9 students and 790 grade 10 students gathered at Wolkite town.