There are a number of birds on a mango tree also a certain number under the same tree. A bird on the tree says to the ones under, "give us one of your member and we will be double your number". A member of those under the tree replied "give us one of your member and we will be equal your number.

How many birds are there on the tree and how many under the tree?

Answer: