Ivan's submission of D-Value | CodeChef