Vinay Guthal's submission of Ranka | CodeChef