Two persons A and B have a total sum of $320 dollars. First, A gives 20% of what he has to B. Then B gives 20% of what he now has back to A . If the ratio of the final amount of person B to the final amount of person A is 1.5, what was the initial amount that person A had ?