const { readFileSync, existsSync } = require("fs"); const stdin = "/dev/stdin"; function main(input = "") { if (!input) throw Error; let data = input.split(" "); return `${parseInt(data[0]) + parseInt(data[1])} ${data[2]}`; } if (existsSync(stdin)) { const input = readFileSync(stdin, "utf8"); console.log(main(input)); } module.exports = main;