Joe has a farm of goats and ducks. Joe walked around his farm and counted 100 legs in total. How many goats and ducks are on the farm?