Yuki went on a walk around her school. The school was mapped onto a grid where each unit represented one foot in real life. She started at the entrance, which was located at (50, 25). She walked to the library at (50, 100). Then she went to her math class which was located at (200, 100). She went to her locker at (200, 25) before she went back to where she started. How far did she walk in all?