While watching a circus show, I counted out the number of acrobats and elephants. I counted 40 legs and 15 heads. How many acrobats did I see in the show?