Write the Smallest and Greatest Number