During the football game, Justin caught three passes. One was for a touchdown and went 52 yards. The other was for a first down and was for 17 yards. The other was on a screen pass that did not work so well and ended up with a loss of 10 yards. What was the total yardage gained by Justin on the pass plays?