In a football game, Jim's team gained 7 yards on the first play, lost 2 yards on the second play, and lost 10 yards on the third play. How many total yards did Jim's team gain or lose after three plays?