Two balls A and B of equal masses are projected upward simultaneously, one from the ground with speed 50 ms−1 and other from height 40 m above the first ball high tower with initial speed 30 ms−1. Find the maximum height attained by their centre of mass.