A man bought a cow and a calf for 990 dollars, paying 8 times as much for the cow as for the calf. what was the cost of each?