There were 28 white ducks swimming in a pond.
Twice as many brown ducks flew in and landed in the pond.
Then half of the white ducks flew away.
How many ducks remained in the pond?