D = {'maths': 78, 'chem': 76, 'phy': 77, 'mech': 67, 'java': 72}
marks = list(D.values())
marks.sort()
max = marks[len(marks) - 1]
min = marks[0]
print(min)
print(max)

e543b9e1344d018acd937b755978dff951dd324f
<mask token>

<mask token>
marks.sort()
<mask token>
print(min)
print(max)

D = {'maths': 78, 'chem': 76, 'phy': 77, 'mech': 67, 'java': 72}
marks = list(D.values())
marks.sort()
max = marks[len(marks) - 1]
min = marks[0]
print(min)
print(max)
