user: ### NOW ANSWER:
Question: Tell me the week for result of l 31-27, and an Attendance smaller than 85865
Columns: ['Week', 'Date', 'Opponent', 'Result', 'Attendance']
Types: ['real', 'text', 'text', 'text', 'real']
Sample row: [1.0, 'September 27, 1953', 'New York Giants', 'W 21-7', 49579.0]
SQL:

assistant: SELECT AVG("Week") FROM "Table" WHERE "Result" = 'l 31-27' AND "Attendance" < 85865.0;