设全集U={1,2,3,4},且A={x|x2-5x+m=0,x∈U}若∁UA={1,4},求m的值.