odd: {x mod 2} even: {1 - x mod 2}