Integrate the following logic into a python program
Read a number and print "OK" if the number is greater than 10, and print "Not OK" otherwise.
num = int(input("Enter a number: "))
if num > 10:
    print("OK")
else:
    print("Not OK")