Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the average weight of a , b and c is 45 kg . if the average weight of a and b be 40 kg and that of b and c be 47 kg , then the weight of b is :
