Wentao Wang's submission of Cool Numbers | CodeChef