Project Euler 116 - Non-bouncy numbers

Official link: https://projecteuler.net/problem=113