Project Euler 315 - Digital Root Clock

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