human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Pos., Team, G.P., Wins, Ties, Losses, Goals, Goal diff, Pts..
###Question: What was the largest tie when the G.P was more than 5?
gpt
SELECT MAX Ties FROM table WHERE G.P. > 5