Kim won some money. She spent $25 to have her haircut, and lent one- fifth of the remaining money to a friend. after she deposited two-thirds of what was left in he bank, she still had $40. How much money did she win?