There are 17 animals in field.Some are horses and some are ducks.There are 56 legs in all.How many of each animal are in the field?