apple pie's submission of Make it Divisible | CodeChef