Benoit's submission of Random decreasing function | CodeChef