then the logic states of output D are