m1 = int(input("Marks of 1st student : "))

m2 = int(input("Marks of 2nd student : "))

m3 = int(input("Marks of 3rd student : "))

m4 = int(input("Marks of 4th student : "))

m5 = int(input("Marks of 5th student : "))

m6 = int(input("Marks of 6th student : "))

marks = [m1, m2, m3, m4, m5, m6]

marks.sort()

print(marks)