```js const str="12223333752".split('').map(i=>parseInt(i)) let res=[],tmp=0 for(let i=0;i