human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Title, Album, Country, Peak position, Weeks on chart
###Question: what is the most weeks on chart when the peak position is less than 5 and from Sweden?
gpt
SELECT MAX Weeks on chart FROM table WHERE Peak position < 5 AND Country = sweden