Masoom Mittal's submission of Infernos | CodeChef