Sam can mow a lawn in 40 minutes. Melissa can mow the same lawn in 60 minutes. How long does it take for both Sam and Melissa to mow the lawn if they are working together? Express your answer as a reduced fraction.