What does the following Java code output?
import java.util.TreeMap;
import java.util.Map;
public class Main {
public static void main(String[] args) {
Map<Integer, String> rankings = new TreeMap<>();
rankings.put(2, "Silver");
rankings.put(1, "Gold");
rankings.put(3, "Bronze");
for(Map.Entry<Integer, String> entry : rankings.entrySet()) {
System.out.println(entry.getValue());
}
}
}