Andrey Kim's submission of Defuse the bomb | CodeChef