Forming Greatest And Smallest Numbers