Ankan's submission of SUPW | CodeChef