Granny has taken up deep-sea fishing! Last week, she caught a fish so big that she had to cut it into 3 pieces (head, body and tail) in order to weigh it. The tail weighed 9kg and the head weighed the same as the tail plus one third of the body. The body weighed as much as the head and tail together. How much did the whole fish weigh?