const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); rl.on('line', function (line) { let str = line+'00000000'; for(let i=8;i<str.length;i+=8){ console.log(str.substring(i-8,i)); } });