Solution for Odd Numbers.