skolodyazhnyy I tried and figured out that the alhorithm ignores process.stdin
Чому зараз не працює process.stdin.on?
Hello! Can I user process.stdin.on now?