A study compares the effectiveness of two different medications for a certain medical condition. Out of 400 patients who took medication A, 240 showed improvement. Out of 350 patients who took medication B, 210 showed improvement. Develop a 99% confidence interval for the difference in proportions of patients who showed improvement between the two medications.