P and Q each have certain number of apples. A says to B, “if you give me 10 of your apples, I will have twice the number of apples left with you”. B replies, “if you give me 10 of your apples, I will the same number of apples as left with you.” Find the number of apples with P andQ separately