A rectangular garden is 16 feet by 30 feet. Vivian wants to build a fence along the diagonal of the garden. How long does the fence need to be?