Hidden Digits https://www.codeeval.com/open_challenges/122