Average weight of a family of X members is 18 kg. When three men of this family get married, average weight increases by 1kg and when an old man having weight 18kg more than total weight of wife of these three men died, average weight become 16 kg. Find the value of X?
A. 24
B. 28
C. 26
D. 25