give me the source code in shell script to find the bigeest and smallest number from the given series