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, Venue, Attendance
###Question: How many people attended the game with a result of w 16-13 and a week earlier than 12?
gpt
SELECT MAX Attendance FROM table WHERE Result = w 16-13 AND Week < 12