Balls are arranged in rows to form an equilateral triangle. The first row consists of one ball,
the second of two balls, the third of 3 balls and so on. If 456 more balls are added then all
the balls can be arranged in the shape of a square and each of its sides then contains 8 balls
less than the balls in each side of the triangle. Determine the initial number of balls.