Three balls with masses m1, m2, m3 can slide without friction along a straight horizontal line, with ball 2 located between balls 1 and 3 (Fig.). It is known that m1 >> m2, m3 >> m2. Determine the maximum velocities of the two outer balls if they were initially at rest and the middle ball was moving with speed v0. The impacts are considered absolutely elastic.