an accordion string yes real world accordion musical instrument let forget represent concatenation open bracket ASCII code 091 colon ASCII code 058 possibly zero vertical line character ASCII code 124 colon closing bracket ASCII code 093 the length accordion number character itfor example accordion have length 4 6 7 accordion you give string s you want transform accordion remove possibly zero character note insert new character reorder exist one Is possible obtain accordion remove character s maximum possible length result