human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Name, Gain, Loss, Long, Avg/G
###Question: How much Loss has a Gain smaller than 1571, and a Long smaller than 47, and an Avg/G of 36.4?
gpt
SELECT COUNT Loss FROM table WHERE Gain < 1571 AND Long < 47 AND Avg/G = 36.4