A clueless ant makes the following route: starting at point $ A $ goes $ 1$ cm north, then $ 2$ cm east, then $ 3$ cm south, then $ 4$ cm west, immediately $ 5$ cm north, continues $ 6$ cm east, and so on, finally $ 41$ cm north and ends in point $ B $. Calculate the distance between $ A $ and $ B $ (in a straight line).