The sum of first 3 terms of a G.P is 16 and the sum of next 3 terms is 128. Find the sum of n terms of the G.P?