Vsevolod's submission of Dynamic Inversion | CodeChef