import Data.Bits
xnor a b = (a .&. b) .|. ((complement a) .&. (complement b))
main
= do print (xnor
5 7)
aW1wb3J0IERhdGEuQml0cwoKeG5vciA6OiBJbnQgLT4gSW50IC0+IEludAp4bm9yIGEgYiA9IChhIC4mLiBiKSAufC4gKChjb21wbGVtZW50IGEpIC4mLiAoY29tcGxlbWVudCBiKSkKCm1haW4gPSBkbyBwcmludCAoeG5vciA1IDcp