In triangle $ABC$, let points $M$ and $N$ be the midpoints of sides $AB$ and $BC$ respectively. It is known that the perimeter of the triangle $MBN$ is $12$ cm, and the perimeter of the quadrilateral $AMNC$ is $20$ cm. Find the length of the segment $MN$.
Problem
Source: 2023 Yasinsky Geometry Olympiad VIII-IX basic p1 , Ukraine
Tags: geometry, perimeter