In a sequence of 21 terms the first 11 terms are in A.P. with common difference 2 and the last 11 terms are in G.P. with common ratio 2 . If the middle term of the A.P. is equal to the middle term of the G.P., then the middle term of the entire sequence is