human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Draw, Song, Performer, Points, Rank
###Question: What is the average number of points when the ranking is 7th and the draw is less than 4?
gpt
SELECT AVG Points FROM table WHERE Rank = 7th AND Draw < 4