Calculate Bitwise XOR of first ( N - 3 ) elements
VAL ^= i NEW_LINE if ( VAL == K ) : NEW_LINE print ( P , end = " ▁ " ) NEW_LINE print ( Q , end = " ▁ " ) NEW_LINE print ( P ^ Q , end = " ▁ " ) NEW_LINE else : NEW_LINE print ( "0" , end = " ▁ " ) NEW_LINE print ( P , end = " ▁ " ) NEW_LINE print ( P ^ K ^ VAL , end = " ▁ " ) NEW_LINE