Input 1 2 4 5 10 12

Output 3 5 9 11 21 25
What is the rule for this function ?
If adding add what tried 2
Need help please