There is staircase connecting points A and B. Measurements of steps are marked. Find the straight line distance between A and B.