# -*- coding: utf-8 -*-
"""
Created on Thu Dec  3 00:17:10 2020

@author: Supriyo
"""

list1=[89,4,69,23,79,3,65,96,123,78]

list1.sort()
print(list1)
print("shortest number in the list is ",list1[:1])
print("Largest number in the list is ",list1[-1])
print("Second Largest number in the list ",list1[-2])