Generate a python program that takes the diameter of a circle as an input and outputs the circumference of the circle.
def circumference_of_circle(diameter):
    circumference = 3.14 * diameter
    return circumference