Santosh Betha's submission of SUPW | CodeChef