mark1 = float(input("Enter mark 1: "))
mark2 = float(input("Enter mark 2: "))
mark3 = float(input("Enter mark 3: "))
mark4 = float(input("Enter mark 4: "))

marks_avg = (mark1 + mark2 + mark3 + mark4)/4

print("The average of the 4 marks is " + str(marks_avg))