Ahmad had 20 kg of rice. He used 3 kg of rice to cook lunch. Then, he gave 7 kg of rice to his neighbour. Finally he poured the remaining rice equally into 3 containers.<hr> How much rice did each container contain?