In a G.P. the ratio of the sum of the first eleven terms to the sum of last eleven terms is 18 and the ratio of the sum of all terms without the first nine to the sum of all the terms without the last nine is 2. Then the number of terms of the G.P is