human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Position, Team, Played, Wins, Draws, Losses, Scored, Conceded, Points
###Question: What was the number of losses when the scored value was 25?
gpt
SELECT MAX Losses FROM table WHERE Scored = 25