r(0):- write('even').
r(1):- write('odd').

c(X):-
	X is mod(X,2),
	r(X).
