
mark=input("Enter Mark: ")
if int(mark)>=0 and int(mark)<40:
        print("Marks achieved: "+mark)	
        print("Sorry! You have failed. Better luck next time")
elif int(mark)>=40 and int(mark)<60:
        print("Marks achieved: "+mark)	
        print("You have achieved a C grade")
elif int(mark)>=60 and int(mark)<80:
        print("Marks achieved: "+mark)	
        print("You have achieved a C grade")
elif int(mark)>=80 and int(mark)<=100:
        print("Marks achieved: "+mark)	
        print("You have achieved a C grade")