The ratio of horses to elephants in the circus is 8 to 7 if there are 16 horses in the circus then how many horses and elephants are there altogether