human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Week, Date, Opponent, Result, Attendance
###Question: Which Attendance has an Opponent of new york giants, and a Week smaller than 5?
gpt
SELECT AVG Attendance FROM table WHERE Opponent = new york giants AND Week < 5