Let X be the number of chickens Mr. Rainwater has.

He has 4 goats/cow * 9 cows = <<4*9=36>>36 goats on his farm.

So he has 36 goats / 2 goats/chicken = <<36/2=18>>18 chickens.

# Answer

18
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Mr. Rainwater has some goats, 9 cows and some chickens. He has 4 times as many goats as cows and 2 times as many goats as chickens. How many chickens does he have?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
18
Mr. Rainwater has some goats, 9 cows and some chickens. He has 4 times as many goats as cows and 2 times as many goats as chickens. How many chickens does he have?
train