The output turns on if the input is on and the output stays on until the input is on again
made by Jeff