process.stdin.on('data', function(d) { console.log("Read string", d.toString()); });