Check even or odd.