In a quadrilateral ABCD,the angles A,B and C are in the ratio 1:3:7.Find (a) angle D (b) angle C given that the sum of angle A,B,C Is 187°