Instruct: What is the maximum rank of the nation that won 4 gold medals?
Output: SELECT MAX Rank FROM table WHERE Gold = 4