'''
Write a Python program to get a string made of the first 2 and the last 2 chars from a given a string. If the string length is less than 2, return instead of the empty string. Go to the editor
Sample String : 'w3resource'
Expected Result : 'w3ce'
Sample String : 'w3'
Expected Result : 'w3w3'
Sample String : ' w'
Expected Result : Empty String
'''

user_input = raw_input("Enter the string: ")

if len(user_input) >= 2:
    print user_input[0:2]+user_input[len(user_input)-2:len(user_input)]
else:
    print 'Empty String'