find bigest odd number and smallest even number