Max can trade 3 coconuts for a crab and 6 crabs for a goat. If he has 342 coconuts and he wants to convert all of them into goats, how many goats will he have?
Please reason step by step, and put your final answer within \boxed{}.
user