Three logic gates are connected as shown in the figure. If the inputs are \( A = 1 \) and \( B = 1 \), then the values of \( y_1 \) and \( y_2 \) respectively are:

Assertion (A): We cannot form a p-n junction diode by taking a slab of a p-type semiconductor and physically joining it to another slab of an n-type semiconductor.
Reason (R): In a p-type semiconductor, \( n_e \gg n_h \) while in an n-type semiconductor \( n_h \gg n_e \).