5 birds were in a tree. Some flew away. Then there were 3 birds in the tree. How many birds flew away?