to find even or odd