m1 = input("Enter marks: ")
m2 = input("Enter marks: ")
m3 = input("Enter marks: ")
m4 = input("Enter marks: ")
m5 = input("Enter marks: ")
m6 = input("Enter marks: ")
marks=[m1,m2,m3,m4,m5,m6]
marks.sort()
print(marks)

# entering marks and in ascending order