find parity