s=input("Enter the string:") s1=s[:2]+s[-2:] print(s1)