Logic gates X and Y have the truth tables shown below : When the output of X of connected to the input of Y