Solution (unoptimized) for problem 10038
Merge branch 'master' of github.com:vinipsmaker/drunken-octo-sansa