Collin walks 682 m to the library and 340 m to the park. How much total distance does he walk?