while ((line = readline())) { let tempStr = "", count = 0, str = ""; line.split("").forEach((item, index) => { if (/^[0-9]{1,}...