If you tossed and turned all night long, you can still stay sharp by doing just 20 minutes of moderate to intensive exercise, say researchers in the U.K. A new study found that mental performance is enhanced, regardless of the person’s sleep status or oxygen levels, by a short bout of moderate-intensity exercise such as cycling.