In an isosceles triangle ABC with AC = BC, point M is on the side BC , and point N is on the segment MC. It is known that MN=AM, and m∠BAM=m∠NAC. Find m∠MAC