A new study found that moderate drinking probably won't be the thing that kills you as long as you also work out regularly.

ThinkStock

Researchers looked at the drinking and exercise habits of more than 35,000 people, and found alcohol does make you more likely to die of cancer and other diseases. But not if you also exercise at least 30 minutes a day, five days a week.

It doesn't apply for harmful levels of drinking though, which is more than 20 drinks a week for women, and 28 drinks for men. People who drank more than that still upped their chances for things like cancer, even if they worked out a lot.

An entirely different study found that exercising five days a week would save the average person $2,500 a year in medical costs.

Read more at CNN.