let str = null; while(str = readline()) { let childStrLens = []; for(let i = 0; i < str.length; i++) { for(let j = 1; j <= str.length; j++) { let target = str.slice(i, j) &nbs...