human
Philip has a farm with animals. He has 20 cows, 50% more ducks. Philip also has as many pigs as one-fifth of ducks and cows in total. How many animals does Philip have on his farm?
assistant
How many ducks does Philip have? ** Philip has 50/100 * 20 = <<50/100*20=10>>10 more ducks than cows.
How many ducks does Philip have? ** Which means he has 20 + 10 = <<20+10=30>>30 ducks.
How many animals does Philip have? ** So Philip's cows and ducks sum up to 20 + 30 = <<20+30=50>>50 animals.
How many pigs does Philip have? ** If there are 50 cows and ducks, that means Philip has 1/5 * 50 = <<50*1/5=10>>10 pigs.
How many animals does Philip have? ** In total Philip has 50 + 10 = <<50+10=60>>60 animals on his farm.
#### 60