Niyaz Nigmatullin's submission of Dynamic Inversion | CodeChef