The sum of ages of A and B is 49 years. A says to B \"I am twice as old as you were when I was as ol