On Farmer Tino’s ranch, there are ostriches and llamas. Farmer Tino has very bad vision, so he can’t tell his animals apart, but he can count that they have 23 heads and 56 legs. How many animals of each type does Farmer Tino have?