Solved puzzles for Yandex Interview Contest Link to source Run puzzle: node index.js < input.txt Run with output to file: node index.js < input.txt > output.txt