Project Euler 389 - Platonic Dice

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