evalutes odd and even numbers