XY's submission of Power Sum | CodeChef