human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Res., Record, Opponent, Method, Event, Round, Time
###Question: What round has the highest Res loss, and a time of 40:00?
gpt
SELECT MAX Round FROM table WHERE Res. = loss AND Time = 40:00