A patient A receives 3 times the amount of certain medicine s patient B. The two doses add to 200 milligrams. What amount of the medicine does each patient receive?