The Katz family went to the Central Park Zoo. There they saw twice as many monkeys as seals. The number of bears was 1 less than the number of monkeys. There were 3 times as many giraffes as bears. There are 40 animals in the zoo. How many of each animal did the Katzes see?