I would like to create a function given input f ["a","bb","ccc","ffffdd","eeeee","ffffff"] would give
f ["a","bb","ccc","ffffdd","eeeee","ffffff"]