string1 = input('Enter the string')
print('The length of "'+string1+'"is' + str(len(string1)))
print('The first letter and last letter of the string is %s and %s'%(string1[0],string1[-1]))
print('The upperCase of string is %s' %(string1.upper()))
print('The lowerCase of string is %s' %(string1.lower()))
print('The first two and last words of the string is %s and %s'%(string1[0:2],string1[-2:]))