Heidi milks two cows. She gets 5 over 6 of a gallon of milk from the first cow and 2 over 3 of a gallon from the second cow. On her way home, Heidi trips and spills 1 over 2 of a gallon of milk. How many gallons of milk does Heidi still have?