Tiancheng Lou's submission of Smallest Beautiful Number | CodeChef