What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?
You enter your friend's room. He is not in his room. Although you see that on the bed there are two dogs, five cats, two giraffes and three pigs. Also, a couple of chickens and ducks are flying in the room.
Calculate the number of legs standing on the floor.