There were some birds sitting on two branches of a tree.
One of the birds of Branch A says to the birds on the Branch B “one of u comes here and we will be equal.”
In reply Branch B bird Say “one of u come here and we would be double compare to u.”
Now say how many birds were their on branch A and branch B
From first sentence, we get A+1 = B-1 which gives B=A+2
From Second Sentence, we get 2(A-1) = B+1 which gives B = 2A-3
Comparing, we get A as 5 and B as 7.
Branch A = 5 birds
Branch B = 7 birds