namespace helpers.misc{/***/export function stdin() : Promise<string>{return (new Promise<string>((resolve, reject) =>{const readline = require("readline");const reader = readline.createInterface({"input": process.stdin,"output": process.stdout,"terminal": false});let lines : Array<string> = [];reader.on("line", (line) => lines.push(line));reader.on("close", () => resolve(lines.join("\n")));}));}}