Tony Wang's submission of Ranka | CodeChef