Calculates whether a given arithmetic expression is even or odd without evaluating.