Di Wang's submission of Lucky Balance | CodeChef