human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Nation, Gold, Silver, Bronze, Total
###Question: What's the sum of Gold with a Bronze that's larger than 15, Silver that's smaller than 197, the Nation of Saint Lucia, and has a Total that is larger than 50?
gpt
SELECT SUM Gold FROM table WHERE Bronze > 15 AND Silver < 197 AND Nation = saint lucia AND Total > 50