There are 2 pigs, 3 chickens, 4 cows and 5 ducks on a farm. If the farmer wants 3 animals
for a play but only needs one two-legged animal, how many ways can he choose the three animals?