Yisong Wang's submission of Dynamic Inversion | CodeChef