# -*- coding: utf-8 -*-
"""
Created on Fri Aug 28 20:09:28 2020

@author: YUKTI_PC
"""
str1 = input("First string : ")
str2 = input("Second string : ")
str3 = input("Third string : ")
str4 = input("Forth string : ")
str5 = input("Fifth string : ")

lst = [str1, str2 , str3 , str4, str5] 
lst.sort() 
print(lst)
   
   
