The outputs of these 4 logic gates
are given