#string2
#Python program to get a string made of the first 2 and the last 2 characters from
#a given a string.

def main():

    str = input("Please type a word: ")

    print(str[ :2] + str[-2: ])

main()
