Lisa and conner had $360 altogether. After Connor gave Lisa 40% of his money, she had the same amount of money as he did. How much money did Conner have in the beginning?