A and B are two brothers. A weigh 50 kg and B weigh 45 kg. if they divide 285 g of roasted meat in the ratio of their weight, how many grams does each get? ​