s=input("Enter the String :") n=len(s) if(n>=2): print(s[0],end="") print(s[1],end="") print(s[n-2],end="") print(s[n-1]) else: print("Empty String")