Added operation to check if a card is even or odd