Let A,B,C,DA, B, C, D be four distinct points on a line, in that order. The circles with diameters ACAC and BDBD intersect at XX and YY. The line XYXY meets BCBC at ZZ. Let PP be a point on the line XYXY other than ZZ. The line CPCP intersects the circle with diameter ACAC at CC and MM, and the line BPBP intersects the circle with diameter BDBD at BB and NN. Prove that the lines AM,DN,XYAM, DN, XY are concurrent.