Tommy has a total of 20 x 3 = <<20*3=60>>60 kilograms of tomatoes.

Only 60 - 3 = <<60-3=57>>57 kilograms can be sold.

His earnings for the tomatoes will be $<<342=342>>342.

Thus, his profit will be $342 - $330 = $<<342-330=12>>12.

# Answer

12
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
A crate can hold 20 kilograms of tomatoes. Tommy has 3 crates which he bought for $330. He wants to sell the tomatoes for $6 per 1 kilogram but 3 kilograms of tomatoes were rotten. How much will be Tommy's profit from selling those tomatoes?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
12
A crate can hold 20 kilograms of tomatoes. Tommy has 3 crates which he bought for $330. He wants to sell the tomatoes for $6 per 1 kilogram but 3 kilograms of tomatoes were rotten. How much will be Tommy's profit from selling those tomatoes?
train