Problem 46. Ostriches and giraffes

A zoo has several ostriches and several giraffes. They have 30 eyes and 44 legs. How many ostriches and how many giraffes are in the zoo?