A flock of swans contained \(p^2\) members. As the clouds gathered, \(10p\) went to a lake, and one-eighth of the members flew away to a garden. The remaining three pairs played about in the water. How many swans were there in total?
Answer:
The total number of swans \(=\) .