8 in a row

The sum of five consecutive integers is equal to the sum of the next three consecutive integers. Can you find the largest of these integers?

Problem



The sum of five consecutive integers is equal to the sum of the next three consecutive integers.

What is the largest of these eight integers?

This problem is taken from the UKMT Mathematical Challenges.