Philip has 50/100 * 20 = <<50/100*20=10>>10 more ducks than cows.

Which means he has 20 + 10 = <<20+10=30>>30 ducks.

So Philip's cows and ducks sum up to 20 + 30 = <<20+30=50>>50 animals.

If there are 50 cows and ducks, that means Philip has 1/5 * 50 = <<50*1/5=10>>10 pigs.

In total Philip has 50 + 10 = <<50+10=60>>60 animals on his farm.

# Answer

60
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
60
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?
train