Two ideal diodes have their cathodes joined to inputs A and B, and their anodes joined at a node P. Node P is fed from a +5V supply through R1=4.7kΩ. P is also connected directly to the base of an npn silicon transistor (β=100, VBE=0.7V, VCE,sat=0.2V). The emitter is grounded. The collector goes to +5V through RC=1.0kΩ, and the output Y is taken at the collector. Each input is either 0V or 5V. Which statement is correct?