Write same-parity. [2.20]
Merge branch 'ex2.20'