The 49ers would trail 20-13 with less than a minute to go. Blaine Gabbert would run in a game-tying 44 yard touchdown to tie the game at 20. The Bears appeared to have the game won when they went down the field after a decent kick return by Deonte Thompson for 74 yards. Robbie Gould came out to attempt a game-winning 36 yard field goal, but the kick was wide left, resulting in overtime. In the overtime period, Gabbert would throw the game-winning 71-yard touchdown pass to Torrey Smith to win the game for San Francisco. This was San Francisco's first win in Chicago since the 1989 NFC Championship Game.
Question: How many points were scored by the end of regulation?
Answer: 40