Question
A and B each have certain number of oranges. A says to B, "if you give me 10 of your oranges, I will have twice the number of oranges left with you." B replies, "if you give me 10 of your oranges, I will have the same number of oranges as left with you." Find the number of oranges with A and B separately.