human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Goalkeeper, Goals, Matches, Average, Team
###Question: What is the highest Average, when Goals is "34", and when Matches is less than 37?
gpt
SELECT MAX Average FROM table WHERE Goals = 34 AND Matches < 37