readline = require('readline'); rl = readline.createInterface({ input:process.stdin, output:process.stdout, }) rl.on('line',function(line){ var first = line.split(' ')[0]; var second = line.split(' ')[1]; console.log(num(first,second)) }) function num(first,...