Trying to snap a two-game skid, the 49ers stayed at home for a Saturday night interconference battle with the Cincinnati Bengals.  With QB Trent Dilfer out with an injury, back-up Shaun Hill would be making his first career start. After a scoreless first quarter, the Niners drew first blood in the second quarter as Hill got a 3-yard TD run.  However, the Bengals would take the lead as kicker Shayne Graham managed to get a 24-yard field goal, while QB Carson Palmer completed a 52-yard TD pass to WR Chris Henry.  The Niners would end the half as Hill completed a 17-yard TD pass to TE Vernon Davis. In the third quarter, San Francisco increased their lead with kicker Joe Nedney managing to get a 29-yard and a 38-yard  field goal.  In the fourth quarter, Cincinnati tried to mount a comeback as Graham kicked a 35-yard field goal.  Fortunately, the Niners' defense held on for the impressive victory. With the win, the 49ers improved to 4-10.  With the Rams' loss to the Packers, the Niners now sit in 3rd place in the NFC West.
Question: How many yards long was the average field goal in the third and fourth quarters?
Answer: 34