Abhinav's submission of Random decreasing function | CodeChef