grademark = int(input("Please enter mark: "))
if grademark > 85:
    print("You have gained a distinction")
elif grademark >= 65:
    print("You have gained a pass mark")
else:
    print("You have failed the exam")
