human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, City, Population, Area (km 2 ), Density (inhabitants/km 2 ), Altitude (mslm)
###Question: Which Population is the highest one that has a Density (inhabitants/km 2) larger than 2805.8, and a Rank of 1st, and an Altitude (mslm) smaller than 122?
gpt
SELECT MAX Population FROM table WHERE Density (inhabitants/km 2 ) > 2805.8 AND Rank = 1st AND Altitude (mslm) < 122