- From: https://twitter.com/ASpittel/status/1050724878448513024
- Description: https://code.google.com/codejam/contest/6254486/dashboard
# Run like this:
$ ruby program.rb < A-small-practice.in.txt > A-small-practice.out.txt
# For refactoring, test like this:
$ bash test.sh