# name: Read stdin
# key: stdin
# group: es6
# --
new Promise(resolve => {
	let input = "";
	process.stdin.setEncoding("UTF8");
	process.stdin.on("readable", () => {
		const chunk = process.stdin.read();
		null !== chunk ? input += chunk : resolve(input);
	})
}).then(data => {
	$1
});