human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Competition, Wins, Draws, Loses
###Question: What highest Year has Wins 15 and Losses less than 5?
gpt
SELECT MAX Year FROM table WHERE Wins = 15 AND Loses < 5