The average weight of 3 men A, B, and C is 84 kgs. Another man D joins the group and the average now becomes 80 kgs. If another man E, whose weight is 3 kgs more than that of D, replaces A, then the average weight of B, C, D, and E becomes 79 kgs. What is the weight of A?