Corrected Cout to AxorBandC OR AandB instead of AND