one day , a person went to a horse racing area. instead of counting the number of humans and horses he counted 74 heads and 196 legs how many humans and horses were there