Five years ago, David was three times as old as Sarah. Five years from now, the sum of their ages will be 50. How old are David and Sarah now? Let's think step by step and output the final answer within \boxed{}.
user