A 24 foot long piece of string was cut into two pieces. One piece is 16 feet shorter than the other.
Find the length of each piece.