e invece vorresti ottenere:

3-1-1-2-2-2-2-2-3-3-2-5-4-4

ho capito bene?