/**
- @param S String
- @return String
*/
var Solution = function(S){
var a=S.length if(a<2) { return 'Empty String' }else if(a>=2&&a<=4) { return S }else { var b=S[0]+S[1]+S[a-2]+S[a-1] return b }
};
/**
*/
var Solution = function(S){
var a=S.length if(a<2) { return 'Empty String' }else if(a>=2&&a<=4) { return S }else { var b=S[0]+S[1]+S[a-2]+S[a-1] return b }
};