Bowen Yu's submission of Ranka | CodeChef