Given a string, return the string with the middle two characters removed if it has even length, and the middle character removed if it has odd length. If the string is less than 3 characters long, return the original string.