  
dict1 = {"Hemant":46 , "Ayush":95, "Malan":88, "kartik":73}
List1 = list(dict1.values())
print(List1)
List1.sort()
elements= List1[-2]
print("The second maximum element in the dictionary is :",elements)
