Answer:
90$
Explanation:
 Initially Sam and Ali have the same amount. After Sam gives Ali $ 15, the ratio of amounts becomes 7 : 5.
 Let the initial amount with either of Sam and Ali be 
 .
.
 is in dollars.
 is in dollars.
 After the transaction, Sam has 
 and Ali has
 and Ali has 
 .
.
Now, Ratio of Ali's to Sam's is 7:5
So, 

∴ Initially both had $ 90.